|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
com.caucho.db.store.BlobOutputStream
public class BlobOutputStream
| Constructor Summary | |
|---|---|
BlobOutputStream(Store store,
byte[] inode,
int inodeOffset)
Creates a blob output stream. |
|
BlobOutputStream(Transaction xa,
Store store,
byte[] inode,
int inodeOffset)
Creates a blob output stream. |
|
| Method Summary | |
|---|---|
void |
close()
Completes the stream. |
void |
init(Store 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(Transaction xa,
Store store,
byte[] inode,
int inodeOffset)
store - the output store
public BlobOutputStream(Store store,
byte[] inode,
int inodeOffset)
store - the output store| Method Detail |
|---|
public void init(Store store,
byte[] inode,
int inodeOffset)
public void write(int v)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
write in class java.io.OutputStreamjava.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.Closeableclose in class java.io.OutputStreamjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||