Package de.hsh.graja.util
Class LineFeedPrintWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
de.hsh.graja.util.LineFeedPrintWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
PrintWriter, that always uses the character '\n' for println statements.
-
Field Summary
Fields inherited from class java.io.PrintWriter
out
-
Constructor Summary
ConstructorsConstructorDescriptionLineFeedPrintWriter
(File file) LineFeedPrintWriter
(File file, String csn) LineFeedPrintWriter
(OutputStream out, boolean autoFlush) LineFeedPrintWriter
(Writer out, boolean autoFlush) LineFeedPrintWriter
(String fileName) LineFeedPrintWriter
(String fileName, String csn) -
Method Summary
Methods inherited from class java.io.PrintWriter
append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, setError, write, write, write, write, write
Methods inherited from class java.io.Writer
nullWriter
-
Constructor Details
-
LineFeedPrintWriter
-
LineFeedPrintWriter
- Throws:
FileNotFoundException
-
LineFeedPrintWriter
public LineFeedPrintWriter(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException -
LineFeedPrintWriter
-
LineFeedPrintWriter
-
LineFeedPrintWriter
-
LineFeedPrintWriter
- Throws:
FileNotFoundException
-
LineFeedPrintWriter
public LineFeedPrintWriter(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException
-
-
Method Details
-
println
public void println()- Overrides:
println
in classPrintWriter
-