com.imagero.uio.bio
Class IOCOutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended bycom.imagero.uio.bio.IOCOutputStream

public class IOCOutputStream
extends java.io.OutputStream

OutputStream with shared IOController.


Constructor Summary
IOCOutputStream(IOController controller)
           
IOCOutputStream(IOController controller, long offset)
           
 
Method Summary
 void close()
           
 void flush()
           
protected  void prepareBufferForWriting()
           
 void seek(long offset)
           
 void write(byte[] b)
           
 void write(byte[] b, int offset, int length)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IOCOutputStream

public IOCOutputStream(IOController controller)

IOCOutputStream

public IOCOutputStream(IOController controller,
                       long offset)
Method Detail

seek

public void seek(long offset)

prepareBufferForWriting

protected void prepareBufferForWriting()
                                throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

write

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

write

public void write(byte[] b,
                  int offset,
                  int length)
           throws java.io.IOException
Throws:
java.io.IOException

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException