Name

TextDocument

Synopsis

This interface represents a simple text document (one that is not necessarily a hierarchy of attributes). JXTA’s core bindings do not use this interface.

public interface TextDocument extends Document {
// Public Instance Methods
   public abstract String getFileExtension();  
   public abstract Reader getReader() throws IOException;  
   public abstract void sendToWriter(Writer stream) throws IOException;
}

Implementations

StructuredTextDocument

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.