(char[] cbuf, int off, int len)
| 414 | } |
| 415 | |
| 416 | @Override |
| 417 | public int read(char[] cbuf, int off, int len) throws java.io.IOException { |
| 418 | if (length > 0) { |
| 419 | int r = reader.read(cbuf, off, Math.min(length, len)); |
| 420 | length -= len; |
| 421 | return r; |
| 422 | } |
| 423 | else |
| 424 | return -1; |
| 425 | } |
| 426 | |
| 427 | @Override |
| 428 | public void close() throws java.io.IOException { |
no test coverage detected