lisken.systoolbox
Class BufferedFDInputStream
java.lang.Object
java.io.InputStream
lisken.systoolbox.BufferedFDInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class BufferedFDInputStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BufferedFDInputStream
public BufferedFDInputStream(int fildes)
throws java.io.IOException
- Throws:
java.io.IOException
BufferedFDInputStream
public BufferedFDInputStream(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
unread
public void unread(int b)
throws java.io.IOException
- Throws:
java.io.IOException
nextByte
public int nextByte()
available
public int available()
- Overrides:
available
in class java.io.InputStream
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
getFD
public int getFD()
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object