org.biojava.utils.io
Class CountedBufferedReader
java.lang.Object
java.io.Reader
java.io.BufferedReader
org.biojava.utils.io.CountedBufferedReader
- All Implemented Interfaces:
- Closeable, Readable
public class CountedBufferedReader
- extends BufferedReader
- Author:
- Thomas Down
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountedBufferedReader
public CountedBufferedReader(Reader stream)
getFilePointer
public long getFilePointer()
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Overrides:
close
in class BufferedReader
- Throws:
IOException
read
public int read()
throws IOException
- Overrides:
read
in class BufferedReader
- Throws:
IOException
read
public int read(char[] cbuf)
throws IOException
- Overrides:
read
in class Reader
- Throws:
IOException
read
public int read(char[] cbuf,
int off,
int len)
throws IOException
- Overrides:
read
in class BufferedReader
- Throws:
IOException
ready
public boolean ready()
throws IOException
- Overrides:
ready
in class BufferedReader
- Throws:
IOException
skip
public long skip(long n)
throws IOException
- Overrides:
skip
in class BufferedReader
- Throws:
IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class BufferedReader
mark
public void mark(int limit)
throws IOException
- Overrides:
mark
in class BufferedReader
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset
in class BufferedReader
- Throws:
IOException
readLine
public String readLine()
throws IOException
- Overrides:
readLine
in class BufferedReader
- Throws:
IOException