public class InternetPrintWriter extends PrintWriter
out| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
static InternetPrintWriter |
createForEncoding(OutputStream outputStream,
boolean autoFlush,
Charset charset)
Creates a new InternetPrintWriter for given charset encoding.
|
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.
|
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 callpublic static InternetPrintWriter createForEncoding(OutputStream outputStream, boolean autoFlush, Charset charset)
outputStream - the wrapped output stream.charset - the charset.public void println()
println in class PrintWriterpublic void println(boolean x)
println in class PrintWriterx - the boolean to printpublic void println(char x)
println in class PrintWriterx - the char to printpublic void println(int x)
println in class PrintWriterx - the int to printpublic void println(long x)
println in class PrintWriterx - the long to printpublic void println(float x)
println in class PrintWriterx - the float to printpublic void println(double x)
println in class PrintWriterx - the double to printpublic void println(char[] x)
println in class PrintWriterx - the character array to printpublic void println(String x)
println in class PrintWriterx - the String to printpublic void println(Object x)
println in class PrintWriterx - the Object to printCopyright © 2006–2022 Icegreen Technologies. All rights reserved.