public class BlobStreamData extends java.lang.Object implements StreamData
| Constructor and Description |
|---|
BlobStreamData(AppContext conn,
java.sql.Blob b) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(java.io.OutputStream out)
write contents to an OutputStream without closing.
|
java.io.InputStream |
getInputStream()
get an InputStream to read the state of the obect
|
long |
getLength()
get the size of data held in the object
|
java.io.OutputStream |
getOutputStream()
Get an OutputStream used to modify the state of the object
|
void |
read(java.io.InputStream in)
read data from an Input Stream
|
void |
write(java.io.OutputStream out)
write contents to an OutputStream and close
|
public BlobStreamData(AppContext conn, java.sql.Blob b)
public long getLength()
StreamDatagetLength in interface StreamDatapublic java.io.InputStream getInputStream()
StreamDatagetInputStream in interface StreamDatapublic java.io.OutputStream getOutputStream()
StreamDatagetOutputStream in interface StreamDatapublic void read(java.io.InputStream in)
throws DataFault,
java.io.IOException
StreamDataread in interface StreamDatain - InputStreamDataFaultjava.io.IOExceptionpublic void write(java.io.OutputStream out)
throws DataFault,
java.io.IOException
StreamDatawrite in interface StreamDataout - OutputStreamDataFaultjava.io.IOExceptionpublic void append(java.io.OutputStream out)
throws java.io.IOException
StreamDataappend in interface StreamDataout - java.io.IOException