public class JspPrintWriter extends java.io.PrintWriter implements FlushBuffer
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
close() |
void |
flush()
Flushes the buffer and the writer.
|
void |
flushBuffer()
Flushes the buffer and the writer.
|
void |
newLine()
Writes the newline character.
|
void |
print(boolean b)
Prints a boolean.
|
void |
print(char ch)
Prints a character.
|
void |
print(char[] s)
Prints a character array
|
void |
print(double d)
Prints a double.
|
void |
print(float f)
Prints a float
|
void |
print(int v)
Prints an integer.
|
void |
print(long v)
Prints a long
|
void |
print(java.lang.Object v)
Prints the value of the object.
|
void |
print(java.lang.String s)
Prints a string.
|
void |
println()
Prints the newline.
|
void |
println(boolean v)
Prints the boolean followed by a newline.
|
void |
println(char v)
Prints a character followed by a newline.
|
void |
println(char[] s)
Writes a character array followed by a newline.
|
void |
println(double v)
Prints a double followed by a newline.
|
void |
println(float v)
Prints a float followed by a newline.
|
void |
println(int v)
Prints an integer followed by a newline.
|
void |
println(long v)
Prints a long followed by a newline.
|
void |
println(java.lang.Object v)
Writes an object followed by a newline.
|
void |
println(java.lang.String s)
Writes a string followed by a newline.
|
void |
write(char[] buf)
Writes a char buffer to the output.
|
void |
write(char[] buf,
int offset,
int length)
Writes a character array to the writer.
|
void |
write(int ch)
Writes a character to the output.
|
void |
write(java.lang.String s)
Writes a string to the output.
|
void |
write(java.lang.String s,
int off,
int len)
Writes a subsection of a string to the output.
|
public final void write(char[] buf, int offset, int length)
write
in class java.io.PrintWriter
buf
- the buffer to write.off
- the offset into the bufferlen
- the number of characters to writepublic final void write(int ch)
write
in class java.io.PrintWriter
buf
- the buffer to write.public final void write(char[] buf)
write
in class java.io.PrintWriter
buf
- the buffer to write.public final void write(java.lang.String s)
write
in class java.io.PrintWriter
public final void write(java.lang.String s, int off, int len)
write
in class java.io.PrintWriter
public final void newLine()
public final void print(boolean b)
print
in class java.io.PrintWriter
public final void print(char ch)
print
in class java.io.PrintWriter
public final void print(int v)
print
in class java.io.PrintWriter
public final void print(long v)
print
in class java.io.PrintWriter
public final void print(float f)
print
in class java.io.PrintWriter
public final void print(double d)
print
in class java.io.PrintWriter
public final void print(char[] s)
print
in class java.io.PrintWriter
public final void print(java.lang.String s)
print
in class java.io.PrintWriter
public final void print(java.lang.Object v)
print
in class java.io.PrintWriter
public final void println()
println
in class java.io.PrintWriter
public final void println(boolean v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(char v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(int v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(long v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(float v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(double v)
println
in class java.io.PrintWriter
v
- the value to printpublic final void println(char[] s)
println
in class java.io.PrintWriter
public final void println(java.lang.String s)
println
in class java.io.PrintWriter
public final void println(java.lang.Object v)
println
in class java.io.PrintWriter
public void flushBuffer()
flushBuffer
in interface FlushBuffer
public void flush()
flush
in interface java.io.Flushable
flush
in class java.io.PrintWriter
public final void clear()
public final void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.PrintWriter