equal
deleted
inserted
replaced
155 * @exception IOException If an I/O error occurs |
155 * @exception IOException If an I/O error occurs |
156 * @exception IndexOutOfBoundsException |
156 * @exception IndexOutOfBoundsException |
157 * If {@code off} is negative, or {@code len} is negative, |
157 * If {@code off} is negative, or {@code len} is negative, |
158 * or {@code len} is greater than {@code cbuf.length - off} |
158 * or {@code len} is greater than {@code cbuf.length - off} |
159 */ |
159 */ |
160 abstract public int read(char cbuf[], int off, int len) throws IOException; |
160 public abstract int read(char cbuf[], int off, int len) throws IOException; |
161 |
161 |
162 /** Maximum skip-buffer size */ |
162 /** Maximum skip-buffer size */ |
163 private static final int maxSkipBufferSize = 8192; |
163 private static final int maxSkipBufferSize = 8192; |
164 |
164 |
165 /** Skip buffer, null until allocated */ |
165 /** Skip buffer, null until allocated */ |
258 * mark(), reset(), or skip() invocations will throw an IOException. |
258 * mark(), reset(), or skip() invocations will throw an IOException. |
259 * Closing a previously closed stream has no effect. |
259 * Closing a previously closed stream has no effect. |
260 * |
260 * |
261 * @exception IOException If an I/O error occurs |
261 * @exception IOException If an I/O error occurs |
262 */ |
262 */ |
263 abstract public void close() throws IOException; |
263 public abstract void close() throws IOException; |
264 |
264 |
265 } |
265 } |