public class WriterCharWriter extends Object implements CharWriter
| Constructor and Description |
|---|
WriterCharWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
CharWriter |
append(char c) |
CharWriter |
append(char[] chars) |
CharWriter |
append(char[] chars,
int off,
int len) |
CharWriter |
append(CharSequence s) |
void |
close() |
void |
flush() |
public WriterCharWriter(Writer writer) throws IllegalArgumentException
writer - the target writerIllegalArgumentException - if the writer is nullpublic CharWriter append(char c) throws UndeclaredIOException
append in interface CharWriterUndeclaredIOExceptionpublic CharWriter append(char[] chars, int off, int len) throws UndeclaredIOException
append in interface CharWriterUndeclaredIOExceptionpublic CharWriter append(char[] chars) throws UndeclaredIOException
append in interface CharWriterUndeclaredIOExceptionpublic CharWriter append(CharSequence s) throws UndeclaredIOException
append in interface CharWriterUndeclaredIOExceptionpublic void flush()
throws UndeclaredIOException
UndeclaredIOExceptionpublic void close()
throws UndeclaredIOException
UndeclaredIOExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.