Package com.semanticcms.core.servlet
Class PageContextWriter
- java.lang.Object
-
- com.semanticcms.core.servlet.PageContextWriter
-
public final class PageContextWriter extends Object
Also provides convenience access to all the PrintWriter methods, available through static import.- See Also:
PageContext
,PrintWriter
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrintWriter
append(char c)
static PrintWriter
append(CharSequence csq)
static PrintWriter
append(CharSequence csq, int start, int end)
static PrintWriter
format(String format, Object... args)
static PrintWriter
format(Locale l, String format, Object... args)
static PrintWriter
print(boolean b)
static PrintWriter
print(char c)
static PrintWriter
print(char[] s)
static PrintWriter
print(double d)
static PrintWriter
print(float f)
static PrintWriter
print(int i)
static PrintWriter
print(long l)
static PrintWriter
print(Object obj)
static PrintWriter
print(String s)
static PrintWriter
printf(String format, Object... args)
static PrintWriter
printf(Locale l, String format, Object... args)
static PrintWriter
println()
static PrintWriter
println(boolean x)
static PrintWriter
println(char x)
static PrintWriter
println(char[] x)
static PrintWriter
println(double x)
static PrintWriter
println(float x)
static PrintWriter
println(int x)
static PrintWriter
println(long x)
static PrintWriter
println(Object x)
static PrintWriter
println(String x)
static PrintWriter
write(char[] cbuf)
static PrintWriter
write(char[] cbuf, int off, int len)
static PrintWriter
write(int c)
static PrintWriter
write(String str)
static PrintWriter
write(String str, int off, int len)
-
-
-
Method Detail
-
write
public static PrintWriter write(int c) throws IOException
- Throws:
IOException
-
write
public static PrintWriter write(char[] cbuf) throws IOException
- Throws:
IOException
-
write
public static PrintWriter write(char[] cbuf, int off, int len) throws IOException
- Throws:
IOException
-
write
public static PrintWriter write(String str) throws IOException
- Throws:
IOException
-
write
public static PrintWriter write(String str, int off, int len) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(boolean b) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(char c) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(int i) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(long l) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(float f) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(double d) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(char[] s) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(String s) throws IOException
- Throws:
IOException
-
print
public static PrintWriter print(Object obj) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println() throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(boolean x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(char x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(int x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(long x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(float x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(double x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(char[] x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(String x) throws IOException
- Throws:
IOException
-
println
public static PrintWriter println(Object x) throws IOException
- Throws:
IOException
-
printf
public static PrintWriter printf(String format, Object... args) throws IOException
- Throws:
IOException
-
printf
public static PrintWriter printf(Locale l, String format, Object... args) throws IOException
- Throws:
IOException
-
format
public static PrintWriter format(String format, Object... args) throws IOException
- Throws:
IOException
-
format
public static PrintWriter format(Locale l, String format, Object... args) throws IOException
- Throws:
IOException
-
append
public static PrintWriter append(CharSequence csq) throws IOException
- Throws:
IOException
-
append
public static PrintWriter append(CharSequence csq, int start, int end) throws IOException
- Throws:
IOException
-
append
public static PrintWriter append(char c) throws IOException
- Throws:
IOException
-
-