Package org.apache.derby.client.am
Class ClobOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- org.apache.derby.client.am.ClobOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
class ClobOutputStream extends java.io.OutputStream
-
-
Field Summary
Fields Modifier and Type Field Description private ClientClob
clob_
private long
offset_
-
Constructor Summary
Constructors Constructor Description ClobOutputStream(ClientClob clob, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(byte[] b, int off, int len)
void
write(int b)
private void
writeBytes(byte[] b)
-
-
-
Field Detail
-
clob_
private ClientClob clob_
-
offset_
private long offset_
-
-
Constructor Detail
-
ClobOutputStream
ClobOutputStream(ClientClob clob, long offset) throws SqlException
- Throws:
SqlException
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException
- Specified by:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
write
public void write(byte[] b, int off, int len) throws java.io.IOException
- Overrides:
write
in classjava.io.OutputStream
- Throws:
java.io.IOException
-
writeBytes
private void writeBytes(byte[] b) throws java.io.IOException
- Throws:
java.io.IOException
-
-