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)
IndentableprintIndent in interface IndentableprintIndent in class IndentablePrintStreams - the string to be printedpublic IndentablePrintStream printIndentln(String s)
IndentableprintIndentln in interface IndentableprintIndentln in class IndentablePrintStreams - the string to be printedpublic IndentablePrintStream printIndentString()
IndentableprintIndentString in interface IndentableprintIndentString in class IndentablePrintStreampublic Indentable printfIndentln(String format, Object... args)
IndentableprintfIndentln in interface IndentableprintfIndentln in class IndentablePrintStreamformat - the format stringargs - the to be printed argumentspublic IndentablePrintStream append(CharSequence csq)
append in interface Appendableappend in class PrintStreamcsq - won't be evaluatedpublic IndentablePrintStream append(CharSequence csq, int start, int end)
append in interface Appendableappend in class PrintStreamcsq - won't be evaluatedstart - won't be evaluatedend - won't be evaluatedpublic IndentablePrintStream append(char c)
append in interface Appendableappend in class PrintStreamc - won't be evaluatedprotected void clearError()
clearError in class PrintStreampublic boolean checkError()
checkError in class PrintStreampublic IndentablePrintStream format(Locale l, String format, Object... args)
format in class PrintStreaml - won't be evaluatedformat - won't be evaluatedargs - won't be evaluatedpublic IndentablePrintStream format(String format, Object... args)
format in class PrintStreamformat - won't be evaluatedargs - won't be evaluatedpublic void print(char[] s)
print in class PrintStreams - won't be evaluatedpublic void print(Object obj)
print in class PrintStreamobj - won't be evaluatedpublic void print(char c)
print in class PrintStreamc - won't be evaluatedpublic void print(int i)
print in class PrintStreami - won't be evaluatedpublic void print(String s)
print in class PrintStreams - won't be evaluatedpublic void print(boolean b)
print in class PrintStreamb - won't be evaluatedpublic void print(long l)
print in class PrintStreaml - won't be evaluatedpublic void print(double d)
print in class PrintStreamd - won't be evaluatedpublic void print(float f)
print in class PrintStreamf - won't be evaluatedpublic IndentablePrintStream printf(Locale l, String format, Object... args)
printf in class PrintStreaml - won't be evaluatedformat - won't be evaluatedargs - won't be evaluatedpublic IndentablePrintStream printf(String format, Object... args)
printf in class PrintStreamformat - won't be evaluatedargs - won't be evaluatedpublic void println(char[] x)
println in class PrintStreamx - won't be evaluatedpublic void println()
println in class PrintStreampublic void println(Object x)
println in class PrintStreamx - won't be evaluatedpublic void println(char x)
println in class PrintStreamx - won't be evaluatedpublic void println(int x)
println in class PrintStreamx - won't be evaluatedpublic void println(String x)
println in class PrintStreamx - won't be evaluatedpublic void println(boolean x)
println in class PrintStreamx - won't be evaluatedpublic void println(long x)
println in class PrintStreamx - won't be evaluatedpublic void println(double x)
println in class PrintStreamx - won't be evaluatedpublic void println(float x)
println in class PrintStreamx - won't be evaluatedprotected void setError()
setError in class PrintStreampublic void write(int b)
write in class PrintStreamb - won't be evaluatedpublic void write(byte[] buf,
int off,
int len)
write in class PrintStreambuf - won't be evaluatedoff - won't be evaluatedlen - won't be evaluatedpublic void write(byte[] b)
write in class FilterOutputStreamb - won't be evaluatedpublic void flush()
flush in interface Flushableflush in class PrintStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class PrintStreamCopyright © 2014. All rights reserved.