Class CharStreams.LimitedReader
- java.lang.Object
-
- java.io.Reader
-
- java.io.FilterReader
-
- com.impossibl.postgres.utils.guava.CharStreams.LimitedReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
- Enclosing class:
- CharStreams
public static final class CharStreams.LimitedReader extends FilterReader
-
-
Field Summary
-
Fields inherited from class java.io.FilterReader
in
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longlimit()voidmark(int readLimit)intread()intread(char[] b, int off, int len)voidreset()longskip(long n)-
Methods inherited from class java.io.FilterReader
close, markSupported, ready
-
Methods inherited from class java.io.Reader
nullReader, read, read, transferTo
-
-
-
-
Method Detail
-
limit
public long limit()
-
mark
public void mark(int readLimit) throws IOException- Overrides:
markin classFilterReader- Throws:
IOException
-
read
public int read() throws IOException- Overrides:
readin classFilterReader- Throws:
IOException
-
read
public int read(char[] b, int off, int len) throws IOException- Overrides:
readin classFilterReader- Throws:
IOException
-
reset
public void reset() throws IOException- Overrides:
resetin classFilterReader- Throws:
IOException
-
skip
public long skip(long n) throws IOException- Overrides:
skipin classFilterReader- Throws:
IOException
-
-