public class LimitedPrintStream extends PrintStream
| Modifier and Type | Class and Description |
|---|---|
static class |
LimitedPrintStream.ExcessiveOutputException |
out| Constructor and Description |
|---|
LimitedPrintStream(File file) |
LimitedPrintStream(File file,
int maxCalls,
int maxChars) |
LimitedPrintStream(OutputStream stream) |
LimitedPrintStream(OutputStream stream,
int maxCalls,
int maxChars) |
LimitedPrintStream(String file) |
LimitedPrintStream(String file,
int maxCalls,
int maxChars) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
print(boolean x) |
void |
print(byte x) |
void |
print(char x) |
void |
print(double x) |
void |
print(float x) |
void |
print(int x) |
void |
print(long x) |
void |
print(Object x) |
void |
print(short x) |
void |
print(String x) |
void |
println(boolean x) |
void |
println(byte 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(short x) |
void |
println(String x) |
append, append, append, checkError, clearError, flush, format, format, print, printf, printf, println, println, setError, write, writewritepublic LimitedPrintStream(OutputStream stream)
public LimitedPrintStream(File file) throws FileNotFoundException
FileNotFoundExceptionpublic LimitedPrintStream(String file) throws FileNotFoundException
FileNotFoundExceptionpublic LimitedPrintStream(OutputStream stream, int maxCalls, int maxChars)
public LimitedPrintStream(File file, int maxCalls, int maxChars) throws FileNotFoundException
FileNotFoundExceptionpublic LimitedPrintStream(String file, int maxCalls, int maxChars) throws FileNotFoundException
FileNotFoundExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class PrintStreampublic void print(int x)
print in class PrintStreampublic void print(double x)
print in class PrintStreampublic void print(float x)
print in class PrintStreampublic void print(long x)
print in class PrintStreampublic void print(short x)
public void print(byte x)
public void print(boolean x)
print in class PrintStreampublic void print(char x)
print in class PrintStreampublic void print(Object x)
print in class PrintStreampublic void print(String x)
print in class PrintStreampublic void println(int x)
println in class PrintStreampublic void println(double x)
println in class PrintStreampublic void println(float x)
println in class PrintStreampublic void println(long x)
println in class PrintStreampublic void println(short x)
public void println(byte x)
public void println(boolean x)
println in class PrintStreampublic void println(char x)
println in class PrintStreampublic void println(Object x)
println in class PrintStreampublic void println(String x)
println in class PrintStream