()
| 984 | checkNotNull(toIgnore); |
| 985 | return new Reader() { |
| 986 | @Override |
| 987 | public int read() throws IOException { |
| 988 | int readChar; |
| 989 | do { |
| 990 | readChar = delegate.read(); |
| 991 | } while (readChar != -1 && toIgnore.matches((char) readChar)); |
| 992 | return readChar; |
| 993 | } |
| 994 | |
| 995 | @Override |
| 996 | public int read(char[] cbuf, int off, int len) throws IOException { |