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 long
limit()
void
mark(int readLimit)
int
read()
int
read(char[] b, int off, int len)
void
reset()
long
skip(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:
mark
in classFilterReader
- Throws:
IOException
-
read
public int read() throws IOException
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
read
public int read(char[] b, int off, int len) throws IOException
- Overrides:
read
in classFilterReader
- Throws:
IOException
-
reset
public void reset() throws IOException
- Overrides:
reset
in classFilterReader
- Throws:
IOException
-
skip
public long skip(long n) throws IOException
- Overrides:
skip
in classFilterReader
- Throws:
IOException
-
-