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 voidclose()voidflush()voidwrite(char[] chars)voidwrite(char[] chars, int off, int len)voidwrite(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:
writein classWriter- Throws:
IOException
-
write
public void write(char[] chars) throws IOException- Overrides:
writein classWriter- Throws:
IOException
-
write
public void write(char[] chars, int off, int len) throws IOException- Specified by:
writein classWriter- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Specified by:
flushin classWriter- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
-