public static class InputStreamFactory.ClobInputStreamFactory extends InputStreamFactory implements DataSource
InputStreamFactory.BlobInputStreamFactory, InputStreamFactory.ClobInputStreamFactory, InputStreamFactory.FileInputStreamFactory, InputStreamFactory.SQLXMLInputStreamFactory, InputStreamFactory.StorageMode, InputStreamFactory.StreamFactoryReference
length
Constructor and Description |
---|
ClobInputStreamFactory(Clob clob) |
Modifier and Type | Method and Description |
---|---|
Reader |
getCharacterStream() |
Charset |
getCharset() |
String |
getContentType() |
InputStream |
getInputStream()
Get a new InputStream
|
String |
getName() |
OutputStream |
getOutputStream() |
Reader |
getReader(Reader reader) |
InputStreamFactory.StorageMode |
getStorageMode() |
void |
setCharset(Charset charset) |
free, getLength, getStorageMode, getSystemId, setLength, setSystemId
public ClobInputStreamFactory(Clob clob)
public Charset getCharset()
public void setCharset(Charset charset)
public InputStream getInputStream() throws IOException
InputStreamFactory
getInputStream
in interface DataSource
getInputStream
in class InputStreamFactory
IOException
public Reader getCharacterStream() throws IOException
getCharacterStream
in class InputStreamFactory
IOException
public String getContentType()
getContentType
in interface DataSource
public String getName()
getName
in interface DataSource
public OutputStream getOutputStream() throws IOException
getOutputStream
in interface DataSource
IOException
public InputStreamFactory.StorageMode getStorageMode()
getStorageMode
in class InputStreamFactory
Copyright © 2018 JBoss by Red Hat. All rights reserved.