org.egothor.util.io
Class JavaOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.egothor.util.io.JavaOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public final class JavaOutputStream
extends java.io.OutputStream

JavaOutputStream.java Created on 6. srpen 2006, 2:34

Author:
galambos

Constructor Summary
JavaOutputStream(DataOutput out, boolean disableUnderlayingClose)
           
 
Method Summary
 void close()
           
 void write(byte[] b)
           
 void write(byte[] b, int i, int i0)
           
 void write(int i)
           
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaOutputStream

public JavaOutputStream(DataOutput out,
                        boolean disableUnderlayingClose)
Method Detail

write

public void write(int i)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int i,
                  int i0)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.OutputStream
Throws:
java.io.IOException