Package com.impossibl.postgres.jdbc
Class ClobWriter
- java.lang.Object
-
- java.io.Writer
-
- com.impossibl.postgres.jdbc.ClobWriter
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class ClobWriter extends Writer
-
-
Constructor Summary
Constructors Constructor Description ClobWriter(PGClob owner, com.impossibl.postgres.jdbc.LargeObject lo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
flush()
void
write(char[] chars)
void
write(char[] chars, int off, int len)
void
write(int ch)
-
-
-
Constructor Detail
-
ClobWriter
public ClobWriter(PGClob owner, com.impossibl.postgres.jdbc.LargeObject lo)
-
-
Method Detail
-
write
public void write(int ch) throws IOException
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
public void write(char[] chars) throws IOException
- Overrides:
write
in classWriter
- Throws:
IOException
-
write
public void write(char[] chars, int off, int len) throws IOException
- Specified by:
write
in classWriter
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classWriter
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
-