Class WriterOutput
java.lang.Object
com.electronwill.nightconfig.core.io.WriterOutput
- All Implemented Interfaces:
CharacterOutput
Writes the characters in a
Writer.-
Constructor Details
-
WriterOutput
-
-
Method Details
-
write
public void write(char c) Description copied from interface:CharacterOutputWrites a character.- Specified by:
writein interfaceCharacterOutput- Parameters:
c- the character to write
-
write
public void write(char[] chars, int offset, int length) Description copied from interface:CharacterOutputWrites a portion of an array of characters.- Specified by:
writein interfaceCharacterOutput- Parameters:
chars- the characters to writeoffset- the index to start atlength- the number of characters to write
-
write
Description copied from interface:CharacterOutputWrites a portion of a String.- Specified by:
writein interfaceCharacterOutput- Parameters:
s- the string to writeoffset- the index to start atlength- the number of characters to write
-