lisken.systoolbox
Class BufferedFDOutputStream
java.lang.Object
java.io.OutputStream
lisken.systoolbox.BufferedFDOutputStream
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class BufferedFDOutputStream
- extends java.io.OutputStream
Methods inherited from class java.io.OutputStream |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BufferedFDOutputStream
public BufferedFDOutputStream(int fildes)
throws java.io.IOException
- Throws:
java.io.IOException
BufferedFDOutputStream
public BufferedFDOutputStream(java.lang.String filename)
throws java.io.IOException
- Throws:
java.io.IOException
BufferedFDOutputStream
public BufferedFDOutputStream(java.lang.String filename,
boolean append)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
write
public void write(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
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