jfig.objects
Class FigPrintWriter
java.lang.Object
java.io.Writer
java.io.PrintWriter
jfig.objects.FigPrintWriter
- public class FigPrintWriter
- extends java.io.PrintWriter
Override the println() behaviour of PrintWriter to assure correct format
of FIG files with Unix-style (LF only) text files, because xfig and fig2dev
won't recognize MAC (CR) or Windows (CRLF) files.
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Method Summary |
void |
println()
always write Unix-style text files with LF instead of CR or CRLF,
independent of the platform specific behaviour of PrintWriter |
void |
println(char c)
|
void |
println(char[] c)
|
void |
println(double d)
|
void |
println(float f)
|
void |
println(int i)
|
void |
println(long l)
|
void |
println(java.lang.Object o)
|
void |
println(java.lang.String s)
|
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FigPrintWriter
public FigPrintWriter(java.io.PrintWriter _pw)
println
public void println()
- always write Unix-style text files with LF instead of CR or CRLF,
independent of the platform specific behaviour of PrintWriter
println
public void println(char c)
println
public void println(int i)
println
public void println(long l)
println
public void println(float f)
println
public void println(double d)
println
public void println(char[] c)
println
public void println(java.lang.String s)
println
public void println(java.lang.Object o)