org.apache.derby.client.am
Class ClobWriter

java.lang.Object
  extended by java.io.Writer
      extended by org.apache.derby.client.am.ClobWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class ClobWriter
extends java.io.Writer


Field Summary
private  Clob clob_
           
private  long offset_
           
 
Fields inherited from class java.io.Writer
lock
 
Constructor Summary
ClobWriter()
           
ClobWriter(Clob clob, long offset)
           
 
Method Summary
 void close()
           
 void flush()
           
private  void updateClob(java.lang.StringBuffer sb)
           
 void write(char[] cbuf, int off, int len)
           
 void write(int c)
           
 void write(java.lang.String str)
           
 void write(java.lang.String str, int off, int len)
           
 
Methods inherited from class java.io.Writer
append, append, append, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clob_

private Clob clob_

offset_

private long offset_
Constructor Detail

ClobWriter

public ClobWriter()

ClobWriter

public ClobWriter(Clob clob,
                  long offset)
           throws SqlException
Throws:
SqlException
Method Detail

write

public void write(int c)
Overrides:
write in class java.io.Writer

write

public void write(char[] cbuf,
                  int off,
                  int len)
Specified by:
write in class java.io.Writer

write

public void write(java.lang.String str)
Overrides:
write in class java.io.Writer

write

public void write(java.lang.String str,
                  int off,
                  int len)
Overrides:
write in class java.io.Writer

flush

public void flush()
Specified by:
flush in interface java.io.Flushable
Specified by:
flush in class java.io.Writer

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Writer
Throws:
java.io.IOException

updateClob

private void updateClob(java.lang.StringBuffer sb)

Built on Thu 2010-12-23 20:49:13+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.