public static class InputStreamFactory.BlobInputStreamFactory extends InputStreamFactory implements DataSource
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReferencelength| Constructor and Description |
|---|
BlobInputStreamFactory(Blob blob) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getInputStream()
Get a new InputStream
|
long |
getLength()
Length in bytes of the
InputStream |
String |
getName() |
OutputStream |
getOutputStream() |
InputStreamFactory.StorageMode |
getStorageMode() |
free, getCharacterStream, getStorageMode, getSystemId, setLength, setSystemIdpublic BlobInputStreamFactory(Blob blob)
public InputStream getInputStream() throws IOException
InputStreamFactorygetInputStream in interface DataSourcegetInputStream in class InputStreamFactoryIOExceptionpublic long getLength()
InputStreamFactoryInputStreamgetLength in class InputStreamFactorypublic String getContentType()
getContentType in interface DataSourcepublic String getName()
getName in interface DataSourcepublic OutputStream getOutputStream() throws IOException
getOutputStream in interface DataSourceIOExceptionpublic InputStreamFactory.StorageMode getStorageMode()
getStorageMode in class InputStreamFactoryCopyright © 2017 JBoss by Red Hat. All rights reserved.