public final class FileStoreInputStreamFactory extends InputStreamFactory
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReference
length
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, setTemporary
public InputStream getInputStream()
getInputStream
in class InputStreamFactory
public InputStream getInputStream(long start, long len)
public byte[] getMemoryBytes()
public Reader getCharacterStream() throws IOException
getCharacterStream
in class InputStreamFactory
IOException
public long getLength()
getLength
in class InputStreamFactory
public Writer getWriter()
public FileStore.FileStoreOutputStream getOuputStream()
public FileStore.FileStoreOutputStream getOuputStream(int maxMemorySize)
public void free()
free
in class InputStreamFactory
public InputStreamFactory.StorageMode getStorageMode()
getStorageMode
in class InputStreamFactory
public boolean isTemporary()
public void setTemporary(boolean b)
setTemporary
in class InputStreamFactory
Copyright © 2019. All rights reserved.