|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
com.caucho.db.blob.BlobOutputStream
public class BlobOutputStream
Constructor Summary | |
---|---|
BlobOutputStream(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream. |
|
BlobOutputStream(DbTransaction xa,
BlockStore store,
byte[] inode,
int inodeOffset)
Creates a blob output stream. |
Method Summary | |
---|---|
void |
close()
Completes the stream. |
void |
init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream. |
void |
write(byte[] buffer,
int offset,
int length)
Writes a buffer. |
void |
write(int v)
Writes a byte. |
void |
writeFromStream(java.io.InputStream is)
|
Methods inherited from class java.io.OutputStream |
---|
flush, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobOutputStream(DbTransaction xa, BlockStore store, byte[] inode, int inodeOffset)
store
- the output storepublic BlobOutputStream(BlockStore store, byte[] inode, int inodeOffset)
store
- the output storeMethod Detail |
---|
public void init(BlockStore store, byte[] inode, int inodeOffset)
public void write(int v) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void writeFromStream(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |