|
Project JXTA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextDocument
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 |
|---|
Reader getReader()
throws IOException
TextDocument.
Reader containing the characters of this
TextDocument.
IOException - if an I/O error occurs.
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.String toString()
String representation of this
TextDocument.
toString in class Object
|
JXTA J2SE | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||