|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.apache.axiom.util.blob.BlobOutputStream
public abstract class BlobOutputStream
Output stream that is used to write to a blob. Instances of this class are returned by the
WritableBlob.getOutputStream() method.
| Constructor Summary | |
|---|---|
BlobOutputStream()
|
|
| Method Summary | |
|---|---|
abstract WritableBlob |
getBlob()
Get the blob to which this output stream belongs. |
long |
readFrom(java.io.InputStream inputStream,
long length)
Read data from the given input stream and write it to this output stream. |
| Methods inherited from class java.io.OutputStream |
|---|
close, flush, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BlobOutputStream()
| Method Detail |
|---|
public abstract WritableBlob getBlob()
public long readFrom(java.io.InputStream inputStream,
long length)
throws StreamCopyException
ReadFromSupportlength argument is different from -1
and the number of bytes transferred is equal to length.
readFrom in interface ReadFromSupportinputStream - An input stream to read data from. This method will not close the stream.length - the number of bytes to transfer, or -1 if the method should
transfer data until the end of the input stream is reached
StreamCopyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||