org.postgresql.pljava.jdbc

Class ClobValue

Implemented Interfaces:
Clob

public class ClobValue
extends Reader
implements Clob

Constructor Summary

ClobValue(Reader reader, long nChars)
ClobValue(String value)

Method Summary

void
close()
InputStream
getAsciiStream()
Reader
getCharacterStream()
static int
getReaderLength(Reader value)
String
getSubString(long pos, int length)
long
length()
void
mark(int readLimit)
boolean
markSupported()
long
position(Clob pattern, long start)
Not supported.
long
position(String pattern, long start)
In this method is not supported by ClobValue
int
read()
int
read(char[] b)
int
read(char[] b, int off, int len)
boolean
ready()
void
reset()
OutputStream
setAsciiStream(long pos)
In this method is not supported by ClobValue
Writer
setCharacterStream(long pos)
In this method is not supported by ClobValue
int
setString(long pos, String str)
In this method is not supported by ClobValue
int
setString(long pos, String str, int offset, int len)
In this method is not supported by ClobValue
long
skip(long nBytes)
void
truncate(long len)
In this method is not supported by ClobValue

Constructor Details

ClobValue

public ClobValue(Reader reader,
                 long nChars)

ClobValue

public ClobValue(String value)

Method Details

close

public void close()
            throws IOException

getAsciiStream

public InputStream getAsciiStream()

getCharacterStream

public Reader getCharacterStream()

getReaderLength

public static int getReaderLength(Reader value)
            throws SQLException

getSubString

public String getSubString(long pos,
                           int length)
            throws SQLException

length

public long length()

mark

public void mark(int readLimit)
            throws IOException

markSupported

public boolean markSupported()

position

public long position(Clob pattern,
                     long start)
Not supported.

position

public long position(String pattern,
                     long start)
In this method is not supported by ClobValue

read

public int read()
            throws IOException

read

public int read(char[] b)
            throws IOException

read

public int read(char[] b,
                int off,
                int len)
            throws IOException

ready

public boolean ready()
            throws IOException

reset

public void reset()
            throws IOException

setAsciiStream

public OutputStream setAsciiStream(long pos)
In this method is not supported by ClobValue

setCharacterStream

public Writer setCharacterStream(long pos)
In this method is not supported by ClobValue

setString

public int setString(long pos,
                     String str)
In this method is not supported by ClobValue

setString

public int setString(long pos,
                     String str,
                     int offset,
                     int len)
In this method is not supported by ClobValue

skip

public long skip(long nBytes)
            throws IOException

truncate

public void truncate(long len)
In this method is not supported by ClobValue

Copyright (c) 2003, 2004, 2005 TADA AB - Taby Sweden. \ Distributed under the terms shown in COPYRIGHT