public final class NullPrintStream extends IndentablePrintStream
out
Constructor and Description |
---|
NullPrintStream() |
Modifier and Type | Method and Description |
---|---|
IndentablePrintStream |
append(char c)
Pseudo append()-method.
|
IndentablePrintStream |
append(CharSequence csq)
Pseudo append()-method.
|
IndentablePrintStream |
append(CharSequence csq,
int start,
int end)
Pseudo append()-method.
|
boolean |
checkError()
Indicates always no error.
|
protected void |
clearError()
Pseudo clearError()-method.
|
void |
close()
Closes the underlying IndentablePrintStream.
|
void |
flush()
Pseudo flush()-method.
|
IndentablePrintStream |
format(Locale l,
String format,
Object... args)
Pseudo format()-method.
|
IndentablePrintStream |
format(String format,
Object... args)
Pseudo format()-method.
|
void |
print(boolean b)
Pseudo print()-method.
|
void |
print(char c)
Pseudo print()-method.
|
void |
print(char[] s)
Pseudo print()-method.
|
void |
print(double d)
Pseudo print()-method.
|
void |
print(float f)
Pseudo print()-method.
|
void |
print(int i)
Pseudo print()-method.
|
void |
print(long l)
Pseudo print()-method.
|
void |
print(Object obj)
Pseudo print()-method.
|
void |
print(String s)
Pseudo print()-method.
|
IndentablePrintStream |
printf(Locale l,
String format,
Object... args)
Pseudo printf()-method.
|
IndentablePrintStream |
printf(String format,
Object... args)
Pseudo printf()-method.
|
Indentable |
printfIndentln(String format,
Object... args)
A convenience method to print an indented string onto the stream using the specified format string and the given arguments.
|
IndentablePrintStream |
printIndent(String s)
Prints an indented string.
|
IndentablePrintStream |
printIndentln(String s)
Prints an indented string together with a line feed.
|
IndentablePrintStream |
printIndentString()
Prints only the current indentation.
|
void |
println()
Pseudo println()-method.
|
void |
println(boolean x)
Pseudo println()-method.
|
void |
println(char x)
Pseudo println()-method.
|
void |
println(char[] x)
Pseudo println()-method.
|
void |
println(double x)
Pseudo println()-method.
|
void |
println(float x)
Pseudo println()-method.
|
void |
println(int x)
Pseudo println()-method.
|
void |
println(long x)
Pseudo println()-method.
|
void |
println(Object x)
Pseudo println()-method.
|
void |
println(String x)
Pseudo println()-method.
|
protected void |
setError()
Pseudo setError()-method.
|
void |
write(byte[] b)
Pseudo write()-method.
|
void |
write(byte[] buf,
int off,
int len)
Pseudo write()-method.
|
void |
write(int b)
Pseudo write()-method.
|
public IndentablePrintStream printIndent(String s)
Indentable
printIndent
in interface Indentable
printIndent
in class IndentablePrintStream
s
- the string to be printedpublic IndentablePrintStream printIndentln(String s)
Indentable
printIndentln
in interface Indentable
printIndentln
in class IndentablePrintStream
s
- the string to be printedpublic IndentablePrintStream printIndentString()
Indentable
printIndentString
in interface Indentable
printIndentString
in class IndentablePrintStream
public Indentable printfIndentln(String format, Object... args)
Indentable
printfIndentln
in interface Indentable
printfIndentln
in class IndentablePrintStream
format
- the format stringargs
- the to be printed argumentspublic IndentablePrintStream append(CharSequence csq)
append
in interface Appendable
append
in class PrintStream
csq
- won't be evaluatedpublic IndentablePrintStream append(CharSequence csq, int start, int end)
append
in interface Appendable
append
in class PrintStream
csq
- won't be evaluatedstart
- won't be evaluatedend
- won't be evaluatedpublic IndentablePrintStream append(char c)
append
in interface Appendable
append
in class PrintStream
c
- won't be evaluatedprotected void clearError()
clearError
in class PrintStream
public boolean checkError()
checkError
in class PrintStream
public IndentablePrintStream format(Locale l, String format, Object... args)
format
in class PrintStream
l
- won't be evaluatedformat
- won't be evaluatedargs
- won't be evaluatedpublic IndentablePrintStream format(String format, Object... args)
format
in class PrintStream
format
- won't be evaluatedargs
- won't be evaluatedpublic void print(char[] s)
print
in class PrintStream
s
- won't be evaluatedpublic void print(Object obj)
print
in class PrintStream
obj
- won't be evaluatedpublic void print(char c)
print
in class PrintStream
c
- won't be evaluatedpublic void print(int i)
print
in class PrintStream
i
- won't be evaluatedpublic void print(String s)
print
in class PrintStream
s
- won't be evaluatedpublic void print(boolean b)
print
in class PrintStream
b
- won't be evaluatedpublic void print(long l)
print
in class PrintStream
l
- won't be evaluatedpublic void print(double d)
print
in class PrintStream
d
- won't be evaluatedpublic void print(float f)
print
in class PrintStream
f
- won't be evaluatedpublic IndentablePrintStream printf(Locale l, String format, Object... args)
printf
in class PrintStream
l
- won't be evaluatedformat
- won't be evaluatedargs
- won't be evaluatedpublic IndentablePrintStream printf(String format, Object... args)
printf
in class PrintStream
format
- won't be evaluatedargs
- won't be evaluatedpublic void println(char[] x)
println
in class PrintStream
x
- won't be evaluatedpublic void println()
println
in class PrintStream
public void println(Object x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(char x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(int x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(String x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(boolean x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(long x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(double x)
println
in class PrintStream
x
- won't be evaluatedpublic void println(float x)
println
in class PrintStream
x
- won't be evaluatedprotected void setError()
setError
in class PrintStream
public void write(int b)
write
in class PrintStream
b
- won't be evaluatedpublic void write(byte[] buf, int off, int len)
write
in class PrintStream
buf
- won't be evaluatedoff
- won't be evaluatedlen
- won't be evaluatedpublic void write(byte[] b)
write
in class FilterOutputStream
b
- won't be evaluatedpublic void flush()
flush
in interface Flushable
flush
in class PrintStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class PrintStream
Copyright © 2014 Christof Reichardt. All rights reserved. (Build: 26-May-2014)