org.ozoneDB.blob
Class BLOBOutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--org.ozoneDB.blob.BLOBOutputStream
- All Implemented Interfaces:
- java.io.Serializable
- public class BLOBOutputStream
- extends java.io.OutputStream
- implements java.io.Serializable
The output stream of ozone BLOBs. Every write operations will call
the underlaying BLOBContainer. Therefore BLOBStreams should never be used
without buffering/caching. This can be done by using the BLOBStream together
with a BufferedStream.
- Version:
- $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
- Author:
- SMB
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOBOutputStream
public BLOBOutputStream(BLOBContainer _container)
write
public void write(byte[] b)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
write
in class java.io.OutputStream
java.io.IOException
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Overrides:
flush
in class java.io.OutputStream
java.io.IOException
close
public void close()
throws java.io.IOException
- Overrides:
close
in class java.io.OutputStream
java.io.IOException
Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.