com.sun.jimi.util
Class FileRandomAccessStorage.OutputStreamWrapper

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--com.sun.jimi.util.FileRandomAccessStorage.OutputStreamWrapper

protected final class FileRandomAccessStorage.OutputStreamWrapper
extends java.io.OutputStream


Field Summary
protected  FileRandomAccessStorage storage
           
 
Constructor Summary
protected FileRandomAccessStorage.OutputStreamWrapper()
           
 
Method Summary
 void write(byte[] data)
           
 void write(byte[] data, int offset, int length)
           
 void write(int value)
           
 
Methods inherited from class java.io.OutputStream
close, flush
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storage

protected FileRandomAccessStorage storage
Constructor Detail

FileRandomAccessStorage.OutputStreamWrapper

protected FileRandomAccessStorage.OutputStreamWrapper()
Method Detail

write

public void write(int value)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream

write

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

write

public void write(byte[] data,
                  int offset,
                  int length)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream