equal
deleted
inserted
replaced
140 * Number of characters to write |
140 * Number of characters to write |
141 * |
141 * |
142 * @throws IOException |
142 * @throws IOException |
143 * If an I/O error occurs |
143 * If an I/O error occurs |
144 */ |
144 */ |
145 abstract public void write(char cbuf[], int off, int len) throws IOException; |
145 public abstract void write(char cbuf[], int off, int len) throws IOException; |
146 |
146 |
147 /** |
147 /** |
148 * Writes a string. |
148 * Writes a string. |
149 * |
149 * |
150 * @param str |
150 * @param str |
310 * they are actually written to a physical device such as a disk drive. |
310 * they are actually written to a physical device such as a disk drive. |
311 * |
311 * |
312 * @throws IOException |
312 * @throws IOException |
313 * If an I/O error occurs |
313 * If an I/O error occurs |
314 */ |
314 */ |
315 abstract public void flush() throws IOException; |
315 public abstract void flush() throws IOException; |
316 |
316 |
317 /** |
317 /** |
318 * Closes the stream, flushing it first. Once the stream has been closed, |
318 * Closes the stream, flushing it first. Once the stream has been closed, |
319 * further write() or flush() invocations will cause an IOException to be |
319 * further write() or flush() invocations will cause an IOException to be |
320 * thrown. Closing a previously closed stream has no effect. |
320 * thrown. Closing a previously closed stream has no effect. |
321 * |
321 * |
322 * @throws IOException |
322 * @throws IOException |
323 * If an I/O error occurs |
323 * If an I/O error occurs |
324 */ |
324 */ |
325 abstract public void close() throws IOException; |
325 public abstract void close() throws IOException; |
326 |
326 |
327 } |
327 } |