public class LimitedReader extends Reader
Constructor and Description |
---|
LimitedReader(Reader in,
long length) |
public LimitedReader(Reader in, long length)
public int read() throws IOException
read
in class Reader
IOException
public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public long skip(long n) throws IOException
skip
in class Reader
IOException
public boolean markSupported()
markSupported
in class Reader
public void mark(int readlimit) throws IOException
mark
in class Reader
IOException
public void reset() throws IOException
reset
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.