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) |
public abstract InputStream getInputStream() throws IOException
IOExceptionpublic String getSystemId()
getSystemId in interface Sourcepublic void setSystemId(String systemId)
setSystemId in interface Sourcepublic void free()
throws IOException
IOExceptionpublic long getLength()
InputStreampublic void setLength(long length)
public Reader getCharacterStream() throws IOException
IOExceptionpublic InputStreamFactory.StorageMode getStorageMode()
public static InputStreamFactory.StorageMode getStorageMode(Object lob)
Copyright © 2017 JBoss by Red Hat. All rights reserved.