Prints formatted representations of objects to a text-output stream. This class implements all of the print methods found in PrintStream. It does not contain methods for writing raw bytes, for which a program should use unencoded byte streams.
See java.io.PrintWriter for full documentation
Appends the specified string to this writer.
Closes the stream, flushing it first.
Flushes the stream.
Writes an array, or portion thereof, of characters.
Prints formatted representations of objects to a text-output stream. This class implements all of the print methods found in PrintStream. It does not contain methods for writing raw bytes, for which a program should use unencoded byte streams.
See java.io.PrintWriter for full documentation