Toggle navigation
Home
com.google.common.io.GwtWorkarounds.CharInput to java.io.Reader
No. of Instances - 5
No. of Commits - 1
No. of Projects - {'guava'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Jdk
Mapping:
Cascading Type Change (Similar)
CharInput
to
Reader
ByteInput
to
InputStream
CharInput
to
Reader
Update Anonymous class
{ @Override public int read() throws IOException { int readChar; do { readChar=delegate.read(); } while (readChar != -1 && toIgnore.matches((char)readChar)); return readChar; } @Override public void close() throws IOException { delegate.close(); } }
to
{ @Override public int read() throws IOException { int readChar; do { readChar=delegate.read(); } while (readChar != -1 && toIgnore.matches((char)readChar)); return readChar; } @Override public int read( char[] cbuf, int off, int len) throws IOException { throw new UnsupportedOperationException(); } @Override public void close() throws IOException { delegate.close(); } }
{ @Override public int read() throws IOException { int readChar; do { readChar=delegate.read(); } while (readChar != -1 && toIgnore.matches((char)readChar)); return readChar; } @Override public void close() throws IOException { delegate.close(); } }
to
{ @Override public int read() throws IOException { int readChar; do { readChar=delegate.read(); } while (readChar != -1 && toIgnore.matches((char)readChar)); return readChar; } @Override public int read( char[] cbuf, int off, int len) throws IOException { throw new UnsupportedOperationException(); } @Override public void close() throws IOException { delegate.close(); } }
Rename Variable
ignoringInput
to
ignoringReader
input
to
reader
Add or Remove Method invocation
ignoringInput(input,separatorChars)
to
ignoringReader(reader,separatorChars)