|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.Writer | +--java.io.PrintWriter | +--org.apache.james.util.InternetPrintWriter
Writes to a wrapped Writer class, ensuring that all line separators are '\r\n', regardless of platform.
Field Summary |
Fields inherited from class java.io.PrintWriter |
out |
Fields inherited from class java.io.Writer |
lock |
Constructor Summary | |
InternetPrintWriter(OutputStream out)
Constructor that takes a stream to wrap. |
|
InternetPrintWriter(OutputStream out,
boolean autoFlush)
Constructor that takes a stream to wrap. |
|
InternetPrintWriter(Writer out)
Constructor that takes a writer to wrap. |
|
InternetPrintWriter(Writer out,
boolean autoFlush)
Constructor that takes a writer to wrap. |
Method Summary | |
void |
println()
Print a line separator. |
void |
println(boolean x)
Print a boolean followed by a line separator. |
void |
println(char x)
Print a char followed by a line separator. |
void |
println(char[] x)
Print a character array followed by a line separator. |
void |
println(double x)
Print a double followed by a line separator. |
void |
println(float x)
Print a float followed by a line separator. |
void |
println(int x)
Print a int followed by a line separator. |
void |
println(long x)
Print a long followed by a line separator. |
void |
println(Object x)
Print an Object followed by a line separator. |
void |
println(String x)
Print a String followed by a line separator. |
Methods inherited from class java.io.PrintWriter |
checkError, close, flush, print, print, print, print, print, print, print, print, print, setError, write, write, write, write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InternetPrintWriter(Writer out)
out
- the wrapped Writerpublic InternetPrintWriter(Writer out, boolean autoFlush)
out
- the wrapped WriterautoFlush
- whether to flush after each print callpublic InternetPrintWriter(OutputStream out)
out
- the wrapped OutputStreampublic InternetPrintWriter(OutputStream out, boolean autoFlush)
out
- the wrapped OutputStreamautoFlush
- whether to flush after each print callMethod Detail |
public void println()
println
in class PrintWriter
public void println(boolean x)
println
in class PrintWriter
x
- the boolean to printpublic void println(char x)
println
in class PrintWriter
x
- the char to printpublic void println(int x)
println
in class PrintWriter
x
- the int to printpublic void println(long x)
println
in class PrintWriter
x
- the long to printpublic void println(float x)
println
in class PrintWriter
x
- the float to printpublic void println(double x)
println
in class PrintWriter
x
- the double to printpublic void println(char[] x)
println
in class PrintWriter
x
- the character array to printpublic void println(String x)
println
in class PrintWriter
x
- the String to printpublic void println(Object x)
println
in class PrintWriter
x
- the Object to print
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |