org.apache.derby.client.am
Class ClobWriter
java.lang.Object
java.io.Writer
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
Fields inherited from class java.io.Writer |
lock |
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 |
clob_
private Clob clob_
offset_
private long offset_
ClobWriter
public ClobWriter()
ClobWriter
public ClobWriter(Clob clob,
long offset)
throws SqlException
- Throws:
SqlException
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)
Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.