public final class FileStoreInputStreamFactory extends InputStreamFactory
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReferencelength| Constructor and Description |
|---|
FileStoreInputStreamFactory(FileStore lobBuffer,
String encoding) |
| Modifier and Type | Method and Description |
|---|---|
void |
free() |
Reader |
getCharacterStream() |
InputStream |
getInputStream() |
InputStream |
getInputStream(long start,
long len) |
long |
getLength() |
byte[] |
getMemoryBytes() |
FileStore.FileStoreOutputStream |
getOuputStream()
The returned output stream is shared among all uses.
|
FileStore.FileStoreOutputStream |
getOuputStream(int maxMemorySize)
The returned output stream is shared among all uses.
|
InputStreamFactory.StorageMode |
getStorageMode() |
Writer |
getWriter()
Returns a new writer instance that is backed by the shared output stream.
|
boolean |
isTemporary() |
void |
setTemporary(boolean b) |
getStorageMode, getSystemId, setLength, setSystemId, setTemporarypublic InputStream getInputStream()
getInputStream in class InputStreamFactorypublic InputStream getInputStream(long start, long len)
public byte[] getMemoryBytes()
public Reader getCharacterStream() throws IOException
getCharacterStream in class InputStreamFactoryIOExceptionpublic long getLength()
getLength in class InputStreamFactorypublic Writer getWriter()
public FileStore.FileStoreOutputStream getOuputStream()
public FileStore.FileStoreOutputStream getOuputStream(int maxMemorySize)
public void free()
free in class InputStreamFactorypublic InputStreamFactory.StorageMode getStorageMode()
getStorageMode in class InputStreamFactorypublic boolean isTemporary()
public void setTemporary(boolean b)
setTemporary in class InputStreamFactoryCopyright © 2020. All rights reserved.