|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
By default, a Clob is a transaction duration reference to a character large object.
Method Summary | |
InputStream | getAsciiStream()
Get the Clob contents as an ascii stream. |
Reader | getCharacterStream()
Get the Clob contents as a Unicode stream. |
String | getSubString(long pos,
int length)
Return copy of the substring of the CLOB at the requested position. |
long | length()
The length of the Character Large Object in characters. |
long | position(Clob searchstr,
long start)
Determine the character position at which the given substring |
long | position(String searchstr,
long start)
Determine the character position at which the given substring |
Method Detail |
public long length() throws SQLException
public String getSubString(long pos, int length) throws SQLException
pos
- is the first character of the substring to be extracted.
length
- is the number of consecutive character to be copied.public Reader getCharacterStream() throws SQLException
public InputStream getAsciiStream() throws SQLException
public long position(String searchstr, long start) throws SQLException
searchstr
- is the substring to search for.
start
- is the position at which to begin searching.public long position(Clob searchstr, long start) throws SQLException
searchstr
- is the substring to search for.
start
- is the position at which to begin searching.
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |