public interface CharacterOutput
| Modifier and Type | Method and Description |
|---|---|
default void |
write(char... chars)
Writes an array of characters.
|
void |
write(char c)
Writes a character.
|
void |
write(char[] chars,
int offset,
int length)
Writes a portion of an array of characters.
|
default void |
write(CharsWrapper cw)
Writes all the characters in the given CharsWrapper.
|
default void |
write(java.lang.String s)
Writes all the characters in the given String.
|
void |
write(java.lang.String s,
int offset,
int length)
Writes a portion of a String.
|
void write(char c)
c - the character to writedefault void write(char... chars)
chars - the characters to writevoid write(char[] chars,
int offset,
int length)
chars - the characters to writeoffset - the index to start atlength - the number of characters to writedefault void write(java.lang.String s)
s - the string to writevoid write(java.lang.String s,
int offset,
int length)
s - the string to writeoffset - the index to start atlength - the number of characters to writedefault void write(CharsWrapper cw)
cw - the CharsWrapper to write