equal
deleted
inserted
replaced
138 * handler. |
138 * handler. |
139 * |
139 * |
140 * @param in The stream to read from |
140 * @param in The stream to read from |
141 * @param doc The destination for the insertion. |
141 * @param doc The destination for the insertion. |
142 * @param pos The location in the document to place the |
142 * @param pos The location in the document to place the |
143 * content >= 0. |
143 * content >=0. |
144 * @exception IOException on any I/O error |
144 * @exception IOException on any I/O error |
145 * @exception BadLocationException if pos represents an invalid |
145 * @exception BadLocationException if pos represents an invalid |
146 * location within the document. |
146 * location within the document. |
147 */ |
147 */ |
148 public void read(InputStream in, Document doc, int pos) |
148 public void read(InputStream in, Document doc, int pos) |
156 * in a format appropriate for this kind of content handler. |
156 * in a format appropriate for this kind of content handler. |
157 * |
157 * |
158 * @param out The stream to write to |
158 * @param out The stream to write to |
159 * @param doc The source for the write. |
159 * @param doc The source for the write. |
160 * @param pos The location in the document to fetch the |
160 * @param pos The location in the document to fetch the |
161 * content >= 0. |
161 * content >=0. |
162 * @param len The amount to write out >= 0. |
162 * @param len The amount to write out >=0. |
163 * @exception IOException on any I/O error |
163 * @exception IOException on any I/O error |
164 * @exception BadLocationException if pos represents an invalid |
164 * @exception BadLocationException if pos represents an invalid |
165 * location within the document. |
165 * location within the document. |
166 */ |
166 */ |
167 public void write(OutputStream out, Document doc, int pos, int len) |
167 public void write(OutputStream out, Document doc, int pos, int len) |
189 * treated as plain text. |
189 * treated as plain text. |
190 * |
190 * |
191 * @param in The stream to read from |
191 * @param in The stream to read from |
192 * @param doc The destination for the insertion. |
192 * @param doc The destination for the insertion. |
193 * @param pos The location in the document to place the |
193 * @param pos The location in the document to place the |
194 * content >= 0. |
194 * content >=0. |
195 * @exception IOException on any I/O error |
195 * @exception IOException on any I/O error |
196 * @exception BadLocationException if pos represents an invalid |
196 * @exception BadLocationException if pos represents an invalid |
197 * location within the document. |
197 * location within the document. |
198 */ |
198 */ |
199 public void read(Reader in, Document doc, int pos) |
199 public void read(Reader in, Document doc, int pos) |
298 * as plain text. |
298 * as plain text. |
299 * |
299 * |
300 * @param out The stream to write to |
300 * @param out The stream to write to |
301 * @param doc The source for the write. |
301 * @param doc The source for the write. |
302 * @param pos The location in the document to fetch the |
302 * @param pos The location in the document to fetch the |
303 * content from >= 0. |
303 * content from >=0. |
304 * @param len The amount to write out >= 0. |
304 * @param len The amount to write out >=0. |
305 * @exception IOException on any I/O error |
305 * @exception IOException on any I/O error |
306 * @exception BadLocationException if pos is not within 0 and |
306 * @exception BadLocationException if pos is not within 0 and |
307 * the length of the document. |
307 * the length of the document. |
308 */ |
308 */ |
309 public void write(Writer out, Document doc, int pos, int len) |
309 public void write(Writer out, Document doc, int pos, int len) |