public final class WriterOutput extends java.lang.Object implements CharacterOutput
Writer.| Constructor and Description |
|---|
WriterOutput(java.io.Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(char c)
Writes a character.
|
void |
write(char[] chars,
int offset,
int length)
Writes a portion of an array of characters.
|
void |
write(java.lang.String s,
int offset,
int length)
Writes a portion of a String.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrite, write, writepublic void write(char c)
CharacterOutputwrite in interface CharacterOutputc - the character to writepublic void write(char[] chars,
int offset,
int length)
CharacterOutputwrite in interface CharacterOutputchars - the characters to writeoffset - the index to start atlength - the number of characters to writepublic void write(java.lang.String s,
int offset,
int length)
CharacterOutputwrite in interface CharacterOutputs - the string to writeoffset - the index to start atlength - the number of characters to write