PrintWriter « File Input Output « Java






1.Create PrintWriter from System.out
2.Create PrintWriter from BufferedWriter
3.Create PrintWriter out of FileWriter
4.Write lines of text to file using a PrintWriter
5.A PrintWriter that ends lines with a carriage return-line feed (CRLF).
6.A PrintWriter that also sends its output to a log stream
7.A helper class for printing indented text