lisken.systoolbox
Class BufferedFDOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by lisken.systoolbox.BufferedFDOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class BufferedFDOutputStream
extends java.io.OutputStream


Constructor Summary
BufferedFDOutputStream(int fildes)
           
BufferedFDOutputStream(java.lang.String filename)
           
BufferedFDOutputStream(java.lang.String filename, boolean append)
           
 
Method Summary
 void close()
           
protected  void finalize()
           
 void flush()
           
 int getFD()
           
 java.lang.String toString()
           
 void write(int b)
           
 void write(java.lang.String s)
           
 
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
 

Constructor Detail

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
Method Detail

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