TestTools.SimpleClob

A simple Clob implementation.

Methods
void free()
Free the clob.
void free() throws SQLException
Free the clob.
InputStream getAsciiStream()
InputStream getAsciiStream() throws SQLException
Reader getCharacterStream()
Reader getCharacterStream() throws SQLException
Reader getCharacterStream(long pos, long length)
Get the reader.
Reader getCharacterStream(long pos, long length) throws SQLException
Get the reader.
Parameters:
pos - the position
length - the length
Returns:
the reader
String getSubString(long pos, int length)
String getSubString(long pos, int length) throws SQLException
long length()
long length() throws SQLException
long position(String search, long start)
long position(String search, long start) throws SQLException
long position(Clob search, long start)
long position(Clob search, long start) throws SQLException
OutputStream setAsciiStream(long pos)
OutputStream setAsciiStream(long pos) throws SQLException
Writer setCharacterStream(long pos)
Writer setCharacterStream(long pos) throws SQLException
int setString(long pos, String str)
int setString(long pos, String str) throws SQLException
int setString(long pos, String str, int offset, int len)
int setString(long pos, String str, int offset, int len) throws SQLException
void truncate(long len)
void truncate(long len) throws SQLException