|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extends Document
for text documents.
Document
Method Summary | |
Reader |
getReader()
Returns the sequence of characters which represents the content of this TextDocument . |
void |
sendToWriter(Writer stream)
Send the contents of this TextDocument to the specified
Writer. |
String |
toString()
Returns a String representation of this
TextDocument . |
Methods inherited from interface net.jxta.document.Document |
getFileExtension, getMimeType, getStream, sendToStream |
Method Detail |
public Reader getReader() throws IOException
TextDocument
.
Reader
containing the characters of this
TextDocument
.
IOException
- if an I/O error occurs.public void sendToWriter(Writer stream) throws IOException
TextDocument
to the specified
Writer.
stream
- The OutputStream to which the Document
will be written.
IOException
- if an I/O error occurs.public String toString()
String
representation of this
TextDocument
.
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |