PrintWriter
minimum port of java.io.PrintWriter just to make it work in lucene-kmp
Functions
Appends the specified character to this writer.
Appends the specified character sequence to this writer.
Appends a subsequence of the specified character sequence to this writer.
Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams.
Terminates the current line by writing the line separator string. The line separator is System.lineSeparator and is not necessarily a single newline character ('\n').
Prints a String and then terminates the line. This method behaves as though it invokes .print and then .println.
Writes a string. This method cannot be inherited from the Writer class because it must suppress I/O exceptions.
Writes a portion of an array of characters.
Writes an array of characters.
Writes a single character. The character to be written is contained in the 16 low-order bits of the given integer value; the 16 high-order bits are ignored.
Writes a portion of a string.