org.erowid.sperowider.htmlshredding
Class HTMLText
java.lang.Object
org.erowid.sperowider.htmlshredding.HTMLText
- All Implemented Interfaces:
- HTMLElement
- public class HTMLText
- extends Object
- implements HTMLElement
Represents a big ol' block of text in an HTML document.
- Version:
- $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperowider/htmlshredding/HTMLText.java,v 1.4 2005/06/08 09:12:28 gurustu Exp $
- Author:
- Stu Statman
Constructor Summary |
HTMLText(String text)
Creates a new chunk of HTML text |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLText
public HTMLText(String text)
- Creates a new chunk of HTML text
- Parameters:
text
-
write
public void write(Writer w)
throws IOException
- Returns the text that represents this chunk of text.
- Specified by:
write
in interface HTMLElement
- Parameters:
w
-
- Throws:
IOException
getText
public String getText()