All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.mediamanager.PlainText

java.lang.Object
   |
   +----iceberg.mediamanager.ContentObject
           |
           +----iceberg.mediamanager.PlainText

public class PlainText
extends ContentObject
implements Serializable

Variable Index

 o theText

Constructor Index

 o PlainText()
 o PlainText(byte[], ContentID)

Method Index

 o getData()
 o getMimeType()
 o getTextBytes()
 o getTextString()
 o length()
Get the number of bytes of this text.
 o PrettyPrint(PrintStream)
 o readFromConfigFile(InputStream)
 o setData(byte[])

Variables

 o theText
 protected byte theText[]

Constructors

 o PlainText
 public PlainText()
 o PlainText
 public PlainText(byte info[],
                  ContentID id)

Methods

 o getData
 public byte[] getData()
Overrides:
getData in class ContentObject
 o getTextBytes
 public byte[] getTextBytes()
 o getTextString
 public String getTextString()
 o getMimeType
 public String getMimeType()
Overrides:
getMimeType in class ContentObject
 o setData
 public void setData(byte info[])
Overrides:
setData in class ContentObject
 o readFromConfigFile
 public void readFromConfigFile(InputStream in) throws IOException
Overrides:
readFromConfigFile in class ContentObject
 o PrettyPrint
 public void PrettyPrint(PrintStream out)
Overrides:
PrettyPrint in class ContentObject
 o length
 public int length()
Get the number of bytes of this text.


All Packages  Class Hierarchy  This Package  Previous  Next  Index