org.apache.derby.client.am
Class ClobOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.apache.derby.client.am.ClobOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class ClobOutputStream
extends java.io.OutputStream


Field Summary
private  Clob clob_
           
private  long offset_
           
 
Constructor Summary
ClobOutputStream(Clob clob, long offset)
           
 
Method Summary
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
private  void writeBytes(byte[] b)
           
 
Methods inherited from class java.io.OutputStream
close, flush, 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

ClobOutputStream

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

write

public void write(int b)
           throws java.io.IOException
Specified by:
write in class java.io.OutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.OutputStream
Throws:
java.io.IOException

writeBytes

private void writeBytes(byte[] b)
                 throws java.io.IOException
Throws:
java.io.IOException

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

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