sharpster.common
Class Body

java.lang.Object
  |
  +--sharpster.common.Body
All Implemented Interfaces:
java.io.Serializable

public class Body
extends java.lang.Object
implements java.io.Serializable

A class used to contain a text document.

See Also:
Serialized Form

Constructor Summary
Body()
           
 
Method Summary
 byte[] getData()
           
 boolean isBinary()
           
 void setBinary(boolean binary)
           
 void setData(byte[] in)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Body

public Body()
Method Detail

setData

public void setData(byte[] in)

getData

public byte[] getData()

setBinary

public void setBinary(boolean binary)

isBinary

public boolean isBinary()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object