| Modifier and Type | Field and Description |
|---|---|
| private ServletPrintWriter | |
| private static final Unsafe |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PrintWriter | append(final CharSequence
The character sequence to append. If csq)csq is
null, then the four characters "null" are
appended to this writer.Overrides java. Implements java. Appends the specified character sequence to this writer. |
| public PrintWriter | append(final CharSequence
The character sequence from which a subsequence will be
appended. If csq, final int csq is null, then characters
will be appended as if csq contained the four
characters "null".The index of the first character in the subsequence start, final int The index of the character following the last character in the
subsequence end)Overrides java. Implements java. Appends a subsequence of the specified character sequence to this writer. |
| public PrintWriter | append(final char
The 16-bit character to append c)Overrides java. Implements java. Appends the specified character to this writer. |
| public boolean | checkError()
Overrides java. Flushes the stream if it's not closed and checks its error state. |
| public void | close()
Overrides java. Implements java. Closes the stream and releases any system resources associated with it. |
| public void | |
| public PrintWriter | format(final String
A format string as described in Format string syntax. format, final Object... Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
The Java Virtual Machine Specification.
The behaviour on a
args)null argument depends on the conversion.Overrides java. Writes a formatted string to this writer using the specified format string and arguments. |
| public PrintWriter | format(final Locale l, final String
A format string as described in Format string syntax. format, final Object... Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
The Java Virtual Machine Specification.
The behaviour on a
args)null argument depends on the conversion.Overrides java. Writes a formatted string to this writer using the specified format string and arguments. |
| private static Unsafe | |
| private static Unsafe | |
| public static ServletPrintWriterDelegate | |
| public void | print(final boolean
The b)boolean to be printedOverrides java. Prints a boolean value. |
| public void | |
| public void | |
| public void | print(final long
The l)long to be printedOverrides java. Prints a long integer. |
| public void | print(final float
The f)float to be printedOverrides java. Prints a floating-point number. |
| public void | print(final double
The d)double to be printedOverrides java. Prints a double-precision floating-point number. |
| public void | print(final char[]
The array of chars to be printed s)Overrides java. Prints an array of characters. |
| public void | |
| public void | print(final Object
The obj)Object to be printedOverrides java. Prints an object. |
| public PrintWriter | printf(final String
A format string as described in Format string syntax. format, final Object... Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
The Java Virtual Machine Specification.
The behaviour on a
args)null argument depends on the conversion.Overrides java. A convenience method to write a formatted string to this writer using the specified format string and arguments. |
| public PrintWriter | printf(final Locale l, final String
A format string as described in Format string syntax. format, final Object... Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
The Java Virtual Machine Specification.
The behaviour on a
args)null argument depends on the conversion.Overrides java. A convenience method to write a formatted string to this writer using the specified format string and arguments. |
| public void | println()
Overrides java. Terminates the current line by writing the line separator string. |
| public void | println(final boolean
the x)boolean value to be printedOverrides java. Prints a boolean value and then terminates the line. |
| public void | println(final char
the x)char value to be printedOverrides java. Prints a character and then terminates the line. |
| public void | println(final int
the x)int value to be printedOverrides java. Prints an integer and then terminates the line. |
| public void | println(final long
the x)long value to be printedOverrides java. Prints a long integer and then terminates the line. |
| public void | println(final float
the x)float value to be printedOverrides java. Prints a floating-point number and then terminates the line. |
| public void | println(final double
the x)double value to be printedOverrides java. Prints a double-precision floating-point number and then terminates the line. |
| public void | println(final char[]
the array of x)char values to be printedOverrides java. Prints an array of characters and then terminates the line. |
| public void | println(final String
the x)String value to be printedOverrides java. Prints a String and then terminates the line. |
| public void | println(final Object
The x)Object to be printed.Overrides java. Prints an Object and then terminates the line. |
| public void | |
| public void | write(final int
int specifying a character to be written. c)Overrides java. Writes a single character. |
| public void | write(final char[]
Array of characters buf, final int Offset from which to start writing characters off, final int Number of characters to write len)Overrides java. Writes A Portion of an array of characters. |
| public void | write(final char[]
Array of characters to be written buf)Overrides java. Writes an array of characters. |
| public void | write(final String
A String s, final int Offset from which to start writing characters off, final int Number of characters to write len)Overrides java. Writes a portion of a string. |
| public void |
| servletPrintWriter | back to summary |
|---|---|
| private ServletPrintWriter servletPrintWriter | |
| UNSAFE | back to summary |
|---|---|
| private static final Unsafe UNSAFE | |
| ServletPrintWriterDelegate | back to summary |
|---|---|
| private ServletPrintWriterDelegate() | |
| append | back to summary |
|---|---|
| public PrintWriter append(final CharSequence csq) Overrides java. Implements java. Doc from java. Appends the specified character sequence to this writer. An invocation of this method of the form out.write(csq.toString()) Depending on the specification of
| |
| append | back to summary |
|---|---|
| public PrintWriter append(final CharSequence csq, final int start, final int end) Overrides java. Implements java. Doc from java. Appends a subsequence of the specified character sequence to this writer. An invocation of this method of the form
out.write(csq.subSequence(start, end).toString())
| |
| append | back to summary |
|---|---|
| public PrintWriter append(final char c) Overrides java. Implements java. Doc from java. Appends the specified character to this writer. An invocation of this method of the form out.write(c)
| |
| checkError | back to summary |
|---|---|
| public boolean checkError() Overrides java. Doc from java. Flushes the stream if it's not closed and checks its error state.
| |
| close | back to summary |
|---|---|
| public void close() Overrides java. Implements java. Doc from java. Closes the stream and releases any system resources associated with it. Closing a previously closed stream has no effect.
| |
| flush | back to summary |
|---|---|
| public void flush() Overrides java. Implements java. Doc from java. Flushes the stream.
| |
| format | back to summary |
|---|---|
| public PrintWriter format(final String format, final Object... args) Overrides java. Doc from java. Writes a formatted string to this writer using the specified format string and arguments. If automatic flushing is enabled, calls to this method will flush the output buffer. The locale always used is the one returned by
| |
| format | back to summary |
|---|---|
| public PrintWriter format(final Locale l, final String format, final Object... args) Overrides java. Doc from java. Writes a formatted string to this writer using the specified format string and arguments. If automatic flushing is enabled, calls to this method will flush the output buffer.
| |
| getUnsafe | back to summary |
|---|---|
| private static Unsafe getUnsafe() | |
| getUnsafe0 | back to summary |
|---|---|
| private static Unsafe getUnsafe0() | |
| newInstance | back to summary |
|---|---|
| public static ServletPrintWriterDelegate newInstance(final ServletPrintWriter servletPrintWriter) | |
| back to summary | |
|---|---|
| public void print(final boolean b) Overrides java. Doc from java. Prints a boolean value. The string produced by
| |
| back to summary | |
|---|---|
| public void print(final char c) Overrides java. Doc from java. Prints a character. The character is translated into one or more bytes
according to the default charset, and these bytes
are written in exactly the manner of the
| |
| back to summary | |
|---|---|
| public void print(final int i) Overrides java. Doc from java. Prints an integer. The string produced by
| |
| back to summary | |
|---|---|
| public void print(final long l) Overrides java. Doc from java. Prints a long integer. The string produced by
| |
| back to summary | |
|---|---|
| public void print(final float f) Overrides java. Doc from java. Prints a floating-point number. The string produced by
| |
| back to summary | |
|---|---|
| public void print(final double d) Overrides java. Doc from java. Prints a double-precision floating-point number. The string produced by
| |
| back to summary | |
|---|---|
| public void print(final char[] s) Overrides java. Doc from java. Prints an array of characters. The characters are converted into bytes
according to the default charset, and these bytes
are written in exactly the manner of the
| |
| back to summary | |
|---|---|
| public void print(final String s) Overrides java. Doc from java. Prints a string. If the argument is | |
| back to summary | |
|---|---|
| public void print(final Object obj) Overrides java. Doc from java. Prints an object. The string produced by the | |
| printf | back to summary |
|---|---|
| public PrintWriter printf(final String format, final Object... args) Overrides java. Doc from java. A convenience method to write a formatted string to this writer using the specified format string and arguments. If automatic flushing is enabled, calls to this method will flush the output buffer. An invocation of this method of the form
out.format(format, args)
| |
| printf | back to summary |
|---|---|
| public PrintWriter printf(final Locale l, final String format, final Object... args) Overrides java. Doc from java. A convenience method to write a formatted string to this writer using the specified format string and arguments. If automatic flushing is enabled, calls to this method will flush the output buffer. An invocation of this method of the form
out.format(l, format, args)
| |
| println | back to summary |
|---|---|
| public void println() Overrides java. Doc from java. Terminates the current line by writing the line separator string. The
line separator is
| |
| println | back to summary |
|---|---|
| public void println(final boolean x) Overrides java. Doc from java. Prints a boolean value and then terminates the line. This method behaves
as though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final char x) Overrides java. Doc from java. Prints a character and then terminates the line. This method behaves as
though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final int x) Overrides java. Doc from java. Prints an integer and then terminates the line. This method behaves as
though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final long x) Overrides java. Doc from java. Prints a long integer and then terminates the line. This method behaves
as though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final float x) Overrides java. Doc from java. Prints a floating-point number and then terminates the line. This method
behaves as though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final double x) Overrides java. Doc from java. Prints a double-precision floating-point number and then terminates the
line. This method behaves as though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final char[] x) Overrides java. Doc from java. Prints an array of characters and then terminates the line. This method
behaves as though it invokes
| |
| println | back to summary |
|---|---|
| public void println(final String x) Overrides java. Doc from java. Prints a String and then terminates the line. This method behaves as
though it invokes | |
| println | back to summary |
|---|---|
| public void println(final Object x) Overrides java. Doc from java. Prints an Object and then terminates the line. This method calls
at first String.valueOf(x) to get the printed object's string value,
then behaves as
though it invokes | |
| setServletPrintWriter | back to summary |
|---|---|
| public void setServletPrintWriter(final ServletPrintWriter servletPrintWriter) | |
| write | back to summary |
|---|---|
| public void write(final int c) Overrides java. Doc from java. Writes a single character.
| |
| write | back to summary |
|---|---|
| public void write(final char[] buf, final int off, final int len) Overrides java. Doc from java. Writes A Portion of an array of characters.
| |
| write | back to summary |
|---|---|
| public void write(final char[] buf) Overrides java. Doc from java. Writes an array of characters. This method cannot be inherited from the Writer class because it must suppress I/O exceptions.
| |
| write | back to summary |
|---|---|
| public void write(final String s, final int off, final int len) Overrides java. Doc from java. Writes a portion of a string. | |
| write | back to summary |
|---|---|
| public void write(final String s) Overrides java. Doc from java. Writes a string. This method cannot be inherited from the Writer class because it must suppress I/O exceptions. | |