railo.commons.io
Class CountingReader
java.lang.Object
java.io.Reader
railo.commons.io.CountingReader
- All Implemented Interfaces:
- Closeable, Readable
public final class CountingReader
- extends Reader
CountingReader
public CountingReader(Reader reader)
mark
public void mark(int readAheadLimit)
throws IOException
- Overrides:
mark
in class Reader
- Throws:
IOException
- See Also:
Reader.mark(int)
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class Reader
- See Also:
Reader.markSupported()
read
public int read()
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
- See Also:
Reader.read()
read
public int read(char[] cbuf)
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
- See Also:
Reader.read(char[])
read
public int read(CharBuffer arg0)
throws IOException
- Specified by:
read
in interface Readable
- Overrides:
read
in class Reader
- Throws:
IOException
- See Also:
Reader.read(java.nio.CharBuffer)
ready
public boolean ready()
throws IOException
- Overrides:
ready
in class Reader
- Throws:
IOException
- See Also:
Reader.ready()
reset
public void reset()
throws IOException
- Overrides:
reset
in class Reader
- Throws:
IOException
- See Also:
Reader.reset()
skip
public long skip(long n)
throws IOException
- Overrides:
skip
in class Reader
- Throws:
IOException
- See Also:
Reader.skip(long)
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Specified by:
close
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Specified by:
read
in class Reader
- Throws:
IOException
Copyright © 2012 Railo