Package com.landawn.abacus.util
Class CharacterWriter
java.lang.Object
java.io.Writer
com.landawn.abacus.util.BufferedWriter
com.landawn.abacus.util.CharacterWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
- Direct Known Subclasses:
BufferedJSONWriter
,BufferedXMLWriter
- Since:
- 0.8
- Author:
- Haiyang Li
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeCharacter
(char ch) void
writeCharacter
(char[] cbuf) void
writeCharacter
(char[] cbuf, int off, int len) void
writeCharacter
(String str) void
writeCharacter
(String str, int off, int len) Methods inherited from class com.landawn.abacus.util.BufferedWriter
append, append, append, close, flush, newLine, toString, write, write, write, write, write, write, write, write, write, write, write, write, write, write, write, writeInt
Methods inherited from class java.io.Writer
nullWriter
-
Method Details
-
writeCharacter
- Parameters:
ch
-- Throws:
IOException
- Signals that an I/O exception has occurred.
-
writeCharacter
- Parameters:
cbuf
-- Throws:
IOException
- Signals that an I/O exception has occurred.
-
writeCharacter
- Parameters:
cbuf
-off
-len
-- Throws:
IOException
- Signals that an I/O exception has occurred.
-
writeCharacter
- Parameters:
str
-- Throws:
IOException
- Signals that an I/O exception has occurred.
-
writeCharacter
- Parameters:
str
-off
-len
-- Throws:
IOException
- Signals that an I/O exception has occurred.
-