| java.lang.Object java.io.Writer java.io.PrintWriter org.apache.james.util.InternetPrintWriter
InternetPrintWriter | public class InternetPrintWriter extends PrintWriter (Code) | | Writes to a wrapped Writer class, ensuring that all line separators are '\r\n', regardless
of platform.
|
Method Summary | |
public void | println() Print a line separator. | public void | println(boolean x) Print a boolean followed by a line separator. | public void | println(char x) Print a char followed by a line separator. | public void | println(int x) Print a int followed by a line separator. | public void | println(long x) Print a long followed by a line separator. | public void | println(float x) Print a float followed by a line separator. | public void | println(double x) Print a double followed by a line separator. | public void | println(char[] x) Print a character array followed by a line separator. | public void | println(String x) Print a String followed by a line separator. | public void | println(Object x) Print an Object followed by a line separator. |
InternetPrintWriter | public InternetPrintWriter(Writer out)(Code) | | Constructor that takes a writer to wrap.
Parameters: out - the wrapped Writer |
InternetPrintWriter | public InternetPrintWriter(Writer out, boolean autoFlush)(Code) | | Constructor that takes a writer to wrap.
Parameters: out - the wrapped Writer Parameters: autoFlush - whether to flush after each print call |
InternetPrintWriter | public InternetPrintWriter(OutputStream out)(Code) | | Constructor that takes a stream to wrap.
Parameters: out - the wrapped OutputStream |
InternetPrintWriter | public InternetPrintWriter(OutputStream out, boolean autoFlush)(Code) | | Constructor that takes a stream to wrap.
Parameters: out - the wrapped OutputStream Parameters: autoFlush - whether to flush after each print call |
println | public void println()(Code) | | Print a line separator.
|
println | public void println(boolean x)(Code) | | Print a boolean followed by a line separator.
Parameters: x - the boolean to print |
println | public void println(char x)(Code) | | Print a char followed by a line separator.
Parameters: x - the char to print |
println | public void println(int x)(Code) | | Print a int followed by a line separator.
Parameters: x - the int to print |
println | public void println(long x)(Code) | | Print a long followed by a line separator.
Parameters: x - the long to print |
println | public void println(float x)(Code) | | Print a float followed by a line separator.
Parameters: x - the float to print |
println | public void println(double x)(Code) | | Print a double followed by a line separator.
Parameters: x - the double to print |
println | public void println(char[] x)(Code) | | Print a character array followed by a line separator.
Parameters: x - the character array to print |
println | public void println(String x)(Code) | | Print a String followed by a line separator.
Parameters: x - the String to print |
println | public void println(Object x)(Code) | | Print an Object followed by a line separator.
Parameters: x - the Object to print |
Methods inherited from java.io.PrintWriter | public PrintWriter append(CharSequence csq)(Code)(Java Doc) public PrintWriter append(CharSequence csq, int start, int end)(Code)(Java Doc) public PrintWriter append(char c)(Code)(Java Doc) public boolean checkError()(Code)(Java Doc) protected void clearError()(Code)(Java Doc) public void close()(Code)(Java Doc) public void flush()(Code)(Java Doc) public PrintWriter format(String format, Object... args)(Code)(Java Doc) public PrintWriter format(Locale l, String format, Object... args)(Code)(Java Doc) public void print(boolean b)(Code)(Java Doc) public void print(char c)(Code)(Java Doc) public void print(int i)(Code)(Java Doc) public void print(long l)(Code)(Java Doc) public void print(float f)(Code)(Java Doc) public void print(double d)(Code)(Java Doc) public void print(char s)(Code)(Java Doc) public void print(String s)(Code)(Java Doc) public void print(Object obj)(Code)(Java Doc) public PrintWriter printf(String format, Object... args)(Code)(Java Doc) public PrintWriter printf(Locale l, String format, Object... args)(Code)(Java Doc) public void println()(Code)(Java Doc) public void println(boolean x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(int x)(Code)(Java Doc) public void println(long x)(Code)(Java Doc) public void println(float x)(Code)(Java Doc) public void println(double x)(Code)(Java Doc) public void println(char x)(Code)(Java Doc) public void println(String x)(Code)(Java Doc) public void println(Object x)(Code)(Java Doc) protected void setError()(Code)(Java Doc) public void write(int c)(Code)(Java Doc) public void write(char buf, int off, int len)(Code)(Java Doc) public void write(char buf)(Code)(Java Doc) public void write(String s, int off, int len)(Code)(Java Doc) public void write(String s)(Code)(Java Doc)
|
|
|