| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the typeOverrides javax. Get the MIME type of the data that this kit represents support for. |
| public void | read(InputStream
The stream to read from in, Document The destination for the insertion. doc, int The location in the document to place the
content. pos)Overrides javax. Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler. |
| public void | read(Reader
The stream to read from in, Document The destination for the insertion. doc, int The location in the document to place the
content. pos)Overrides javax. Insert content from the given stream, which will be treated as plain text. |
| public void | write(OutputStream
The stream to write to out, Document The source for the write. doc, int The location in the document to fetch the
content. pos, int The amount to write out. len)Overrides javax. Write content from a document to the given stream in a format appropriate for this kind of content handler. |
| public void | write(Writer
The stream to write to out, Document The source for the write. doc, int The location in the document to fetch the
content. pos, int The amount to write out. len)Overrides javax. Write content from a document to the given stream as plain text. |
| RTFEditorKit | back to summary |
|---|---|
| public RTFEditorKit() Constructs an RTFEditorKit. | |
| getContentType | back to summary |
|---|---|
| public String getContentType() Overrides javax. Get the MIME type of the data that this
kit represents support for. This kit supports
the type
| |
| read | back to summary |
|---|---|
| public void read(InputStream in, Document doc, int pos) throws IOException, BadLocationException Overrides javax. Insert content from the given stream which is expected to be in a format appropriate for this kind of content handler.
| |
| read | back to summary |
|---|---|
| public void read(Reader in, Document doc, int pos) throws IOException, BadLocationException Overrides javax. Insert content from the given stream, which will be treated as plain text.
| |
| write | back to summary |
|---|---|
| public void write(OutputStream out, Document doc, int pos, int len) throws IOException, BadLocationException Overrides javax. Write content from a document to the given stream in a format appropriate for this kind of content handler.
| |
| write | back to summary |
|---|---|
| public void write(Writer out, Document doc, int pos, int len) throws IOException, BadLocationException Overrides javax. Write content from a document to the given stream as plain text.
| |