Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.sql.ClobLocator


public interface ClobLocator
JDBC 2.0

A ClobLocator is a transaction duration reference to a character large object in the DBMS server.


Method Summary
InputStream  getAsciiStream()
 
Reader  getCharacterStream()
 
String  getString(int 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.
 

Method Detail

length

public long length()
The length of the Character Large Object in characters.
Returns:
length of the CLOB in characters

getString

public String getString(int pos,
                        int length)
Return copy of the substring of the CLOB at the requested position.
Parameters:
pos - is the first character of the substring to be extracted.
length - is the number of consecutive character to be copied.
Returns:
a byte array containing a substring of the CLOB

getCharacterStream

public Reader getCharacterStream()
Returns:
a stream containing the CLOB data

getAsciiStream

public InputStream getAsciiStream()
Returns:
a stream containing the CLOB data

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.