com.ibm.ims.db
Class StringClob
java.lang.Object
|
+--com.ibm.ims.db.StringClob
- All Implemented Interfaces:
- java.sql.Clob
- public class StringClob
- extends java.lang.Object
- implements java.sql.Clob
Accepts a String and Implements the CLOB interface.
Constructor Summary |
StringClob(java.lang.String sourceString)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceString
protected java.lang.String sourceString
StringClob
public StringClob(java.lang.String sourceString)
length
public long length()
throws java.sql.SQLException
- Specified by:
length
in interface java.sql.Clob
getSubString
public java.lang.String getSubString(long pos,
int length)
throws java.sql.SQLException
- Specified by:
getSubString
in interface java.sql.Clob
getCharacterStream
public java.io.Reader getCharacterStream()
throws java.sql.SQLException
- Specified by:
getCharacterStream
in interface java.sql.Clob
getAsciiStream
public java.io.InputStream getAsciiStream()
throws java.sql.SQLException
- Specified by:
getAsciiStream
in interface java.sql.Clob
position
public long position(java.lang.String searchstr,
long start)
throws java.sql.SQLException
- Specified by:
position
in interface java.sql.Clob
position
public long position(java.sql.Clob searchstr,
long start)
throws java.sql.SQLException
- Specified by:
position
in interface java.sql.Clob
(C) International Business Machines Corporation 2004. All rights reserved.