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.3 $Date: 2002/12/29 11:15:55 $
- Author:
- SMB
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOBOutputStream
public BLOBOutputStream(BLOBContainer _container)
write
public void write(byte[] b)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] b,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int b)
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
Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.