org.erowid.sperowider.htmlshredding
Class HTMLText

java.lang.Object
  extended byorg.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
 
Method Summary
 String getText()
           
 void write(Writer w)
          Returns the text that represents this chunk of text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLText

public HTMLText(String text)
Creates a new chunk of HTML text

Parameters:
text -
Method Detail

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()

spero logo small Sperowider is
© 2005 Erowid.org