Package org.apache.solr.security
Class PrintWriterWrapper
- java.lang.Object
-
- java.io.Writer
-
- java.io.PrintWriter
-
- org.apache.solr.security.PrintWriterWrapper
-
- All Implemented Interfaces:
Closeable
,Flushable
,Appendable
,AutoCloseable
public class PrintWriterWrapper extends PrintWriter
Wrapper for PrintWriter that delegates to constructor arg
-
-
Field Summary
-
Fields inherited from class java.io.PrintWriter
out
-
-
Constructor Summary
Constructors Constructor Description PrintWriterWrapper(PrintWriter printWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrintWriter
append(char c)
PrintWriter
append(CharSequence csq)
PrintWriter
append(CharSequence csq, int start, int end)
boolean
checkError()
protected void
clearError()
void
close()
void
flush()
PrintWriter
format(String format, Object... args)
PrintWriter
format(Locale l, String format, Object... args)
void
print(boolean b)
void
print(char c)
void
print(char[] s)
void
print(double d)
void
print(float f)
void
print(int i)
void
print(long l)
void
print(Object obj)
void
print(String s)
PrintWriter
printf(String format, Object... args)
PrintWriter
printf(Locale l, String format, Object... args)
void
println()
void
println(boolean x)
void
println(char x)
void
println(char[] x)
void
println(double x)
void
println(float x)
void
println(int x)
void
println(long x)
void
println(Object x)
void
println(String x)
protected void
setError()
void
write(char[] buf)
void
write(char[] buf, int off, int len)
void
write(int c)
void
write(String s)
void
write(String s, int off, int len)
-
-
-
Constructor Detail
-
PrintWriterWrapper
public PrintWriterWrapper(PrintWriter printWriter)
-
-
Method Detail
-
append
public PrintWriter append(char c)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
append
public PrintWriter append(CharSequence csq)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
append
public PrintWriter append(CharSequence csq, int start, int end)
- Specified by:
append
in interfaceAppendable
- Overrides:
append
in classPrintWriter
-
checkError
public boolean checkError()
- Overrides:
checkError
in classPrintWriter
-
clearError
protected void clearError()
- Overrides:
clearError
in classPrintWriter
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPrintWriter
-
flush
public void flush()
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classPrintWriter
-
format
public PrintWriter format(Locale l, String format, Object... args)
- Overrides:
format
in classPrintWriter
-
format
public PrintWriter format(String format, Object... args)
- Overrides:
format
in classPrintWriter
-
print
public void print(boolean b)
- Overrides:
print
in classPrintWriter
-
print
public void print(char c)
- Overrides:
print
in classPrintWriter
-
print
public void print(char[] s)
- Overrides:
print
in classPrintWriter
-
print
public void print(double d)
- Overrides:
print
in classPrintWriter
-
print
public void print(float f)
- Overrides:
print
in classPrintWriter
-
print
public void print(int i)
- Overrides:
print
in classPrintWriter
-
print
public void print(long l)
- Overrides:
print
in classPrintWriter
-
print
public void print(Object obj)
- Overrides:
print
in classPrintWriter
-
print
public void print(String s)
- Overrides:
print
in classPrintWriter
-
printf
public PrintWriter printf(Locale l, String format, Object... args)
- Overrides:
printf
in classPrintWriter
-
printf
public PrintWriter printf(String format, Object... args)
- Overrides:
printf
in classPrintWriter
-
println
public void println()
- Overrides:
println
in classPrintWriter
-
println
public void println(boolean x)
- Overrides:
println
in classPrintWriter
-
println
public void println(char x)
- Overrides:
println
in classPrintWriter
-
println
public void println(char[] x)
- Overrides:
println
in classPrintWriter
-
println
public void println(double x)
- Overrides:
println
in classPrintWriter
-
println
public void println(float x)
- Overrides:
println
in classPrintWriter
-
println
public void println(int x)
- Overrides:
println
in classPrintWriter
-
println
public void println(long x)
- Overrides:
println
in classPrintWriter
-
println
public void println(Object x)
- Overrides:
println
in classPrintWriter
-
println
public void println(String x)
- Overrides:
println
in classPrintWriter
-
setError
protected void setError()
- Overrides:
setError
in classPrintWriter
-
write
public void write(char[] buf)
- Overrides:
write
in classPrintWriter
-
write
public void write(char[] buf, int off, int len)
- Overrides:
write
in classPrintWriter
-
write
public void write(int c)
- Overrides:
write
in classPrintWriter
-
write
public void write(String s)
- Overrides:
write
in classPrintWriter
-
write
public void write(String s, int off, int len)
- Overrides:
write
in classPrintWriter
-
-