(char[] b, int offset, int length)
| 30 | } |
| 31 | |
| 32 | public int read(char[] b, int offset, int length) throws IOException { |
| 33 | int c = super.read(b, offset, length); |
| 34 | for (int i = 0; i < c; ++i) { |
| 35 | if (b[i] == '\n') { |
| 36 | ++ line; |
| 37 | } |
| 38 | } |
| 39 | return c; |
| 40 | } |
| 41 | } |