org.apache.cocoon.util
Class ClobHelper

java.lang.Object
  extended byorg.apache.cocoon.util.ClobHelper
All Implemented Interfaces:
Clob

public class ClobHelper
extends Object
implements Clob

A minimal implementation just enough to send a CLOB to a database. Advanced methods and all methods for modifying the CLOB are not implemented.

Version:
$Id: ClobHelper.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
ClobHelper(InputStream is, long len)
           
 
Method Summary
 void free()
          Not implemented (Java6 extension).
 InputStream getAsciiStream()
           
 Reader getCharacterStream()
           
 Reader getCharacterStream(long pos, long length)
          Not implemented (Java6 extension).
 String getSubString(long pos, int length)
          Not implemented.
 long length()
           
 long position(Clob searchstr, long start)
          Not implemented.
 long position(String searchstr, long start)
          Not implemented.
 OutputStream setAsciiStream(long pos)
          Not implemented.
 Writer setCharacterStream(long pos)
          Not implemented.
 int setString(long pos, String str)
          Not implemented.
 int setString(long pos, String str, int offset, int len)
          Not implemented.
 void truncate(long len)
          Not implemented.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClobHelper

public ClobHelper(InputStream is,
                  long len)
Method Detail

getAsciiStream

public InputStream getAsciiStream()
Specified by:
getAsciiStream in interface Clob

getCharacterStream

public Reader getCharacterStream()
Specified by:
getCharacterStream in interface Clob

length

public long length()
Specified by:
length in interface Clob

getSubString

public String getSubString(long pos,
                           int length)
Not implemented.

Specified by:
getSubString in interface Clob

position

public long position(Clob searchstr,
                     long start)
Not implemented.

Specified by:
position in interface Clob

position

public long position(String searchstr,
                     long start)
Not implemented.

Specified by:
position in interface Clob

setAsciiStream

public OutputStream setAsciiStream(long pos)
Not implemented.

Specified by:
setAsciiStream in interface Clob

setCharacterStream

public Writer setCharacterStream(long pos)
Not implemented.

Specified by:
setCharacterStream in interface Clob

setString

public int setString(long pos,
                     String str)
Not implemented.

Specified by:
setString in interface Clob

setString

public int setString(long pos,
                     String str,
                     int offset,
                     int len)
Not implemented.

Specified by:
setString in interface Clob

truncate

public void truncate(long len)
Not implemented.

Specified by:
truncate in interface Clob

free

public void free()
Not implemented (Java6 extension).


getCharacterStream

public Reader getCharacterStream(long pos,
                                 long length)
Not implemented (Java6 extension).



Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.