Class ExportDumpClob
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
-
- de.akquinet.jbosscc.guttenbase.export.ExportDumpClob
-
- All Implemented Interfaces:
Externalizable,Serializable,Clob
public class ExportDumpClob extends AbstractExportDumpObject implements Clob
Since CLOBs may be quite big. we do not load them into memory completely, but read them in chunks and write the data to the output stream in a loop.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
DEFAULT_BUFFER_SIZE
-
-
Constructor Summary
Constructors Constructor Description ExportDumpClob()ExportDumpClob(InputStream inputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStreamgetAsciiStream()ReadergetCharacterStream()ReadergetCharacterStream(long pos, long length)StringgetSubString(long pos, int length)longposition(String searchstr, long start)longposition(Clob searchstr, long start)OutputStreamsetAsciiStream(long pos)WritersetCharacterStream(long pos)intsetString(long pos, String str)intsetString(long pos, String str, int offset, int len)voidtruncate(long len)-
Methods inherited from class de.akquinet.jbosscc.guttenbase.export.AbstractExportDumpObject
free, getBinaryStream, getBinaryStream, getBytes, length, readExternal, writeExternal
-
-
-
-
Constructor Detail
-
ExportDumpClob
public ExportDumpClob()
-
ExportDumpClob
public ExportDumpClob(InputStream inputStream)
-
-
Method Detail
-
getAsciiStream
public InputStream getAsciiStream()
- Specified by:
getAsciiStreamin interfaceClob
-
getCharacterStream
public Reader getCharacterStream()
- Specified by:
getCharacterStreamin interfaceClob
-
getCharacterStream
public Reader getCharacterStream(long pos, long length)
- Specified by:
getCharacterStreamin interfaceClob
-
getSubString
public String getSubString(long pos, int length)
- Specified by:
getSubStringin interfaceClob
-
position
public long position(String searchstr, long start)
-
setAsciiStream
public OutputStream setAsciiStream(long pos)
- Specified by:
setAsciiStreamin interfaceClob
-
setCharacterStream
public Writer setCharacterStream(long pos)
- Specified by:
setCharacterStreamin interfaceClob
-
setString
public int setString(long pos, String str, int offset, int len)
-
-