public abstract class InputStreamFactory extends Object implements Source
Modifier and Type | Class and Description |
---|---|
static class |
InputStreamFactory.BlobInputStreamFactory |
static class |
InputStreamFactory.ClobInputStreamFactory |
static class |
InputStreamFactory.FileInputStreamFactory |
static class |
InputStreamFactory.SQLXMLInputStreamFactory |
static class |
InputStreamFactory.StorageMode |
static interface |
InputStreamFactory.StreamFactoryReference |
Modifier and Type | Field and Description |
---|---|
protected long |
length |
Constructor and Description |
---|
InputStreamFactory() |
Modifier and Type | Method and Description |
---|---|
void |
free() |
Reader |
getCharacterStream() |
abstract InputStream |
getInputStream()
Get a new InputStream
|
long |
getLength()
Length in bytes of the
InputStream |
InputStreamFactory.StorageMode |
getStorageMode() |
static InputStreamFactory.StorageMode |
getStorageMode(Object lob) |
String |
getSystemId() |
void |
setLength(long length) |
void |
setSystemId(String systemId) |
void |
setTemporary(boolean temp) |
static void |
setTemporary(Object lob,
boolean temp) |
public abstract InputStream getInputStream() throws IOException
IOException
public String getSystemId()
getSystemId
in interface Source
public void setSystemId(String systemId)
setSystemId
in interface Source
public void free() throws IOException
IOException
public long getLength()
InputStream
public void setLength(long length)
public Reader getCharacterStream() throws IOException
IOException
public InputStreamFactory.StorageMode getStorageMode()
public static InputStreamFactory.StorageMode getStorageMode(Object lob)
public static void setTemporary(Object lob, boolean temp)
public void setTemporary(boolean temp)
Copyright © 2020. All rights reserved.