public class PrintStream extends FilterOutputStream
out| Constructor and Description |
|---|
PrintStream(OutputStream outputstream) |
PrintStream(OutputStream outputstream,
boolean flag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkError() |
void |
close() |
void |
flush() |
void |
print(boolean flag) |
void |
print(char c) |
void |
print(char[] ac) |
void |
print(double d) |
void |
print(float f) |
void |
print(int i) |
void |
print(long l) |
void |
print(Object obj) |
void |
print(String s) |
void |
printf(String format,
Object... params)
A method to write a formatted string to this output stream using the
specified format string and arguments.
|
void |
println()
println
|
void |
println(boolean flag) |
void |
println(byte[] abyte) |
void |
println(char chr) |
void |
println(char[] achar) |
void |
println(double dval) |
void |
println(float fval) |
void |
println(int ival) |
void |
println(long lval) |
void |
println(Object obj) |
void |
println(String str) |
protected void |
setError()
setError
|
void |
write(byte[] abyte0,
int i,
int j) |
void |
write(int i) |
writepublic PrintStream(OutputStream outputstream)
outputstream - ?public PrintStream(OutputStream outputstream, boolean flag)
outputstream - ?flag - ?public boolean checkError()
public void close()
close in class FilterOutputStreampublic void flush()
flush in class FilterOutputStreampublic void printf(String format, Object... params)
format - A C-style format stringparams - Arguments referenced by the format specifiers in the format
string.public void print(char c)
c - ?public void print(double d)
d - ?public void print(float f)
f - ?public void print(int i)
i - ?public void print(long l)
l - ?public void print(Object obj)
obj - ?public void print(String s)
s - ?public void print(boolean flag)
flag - ?public void print(char[] ac)
ac - ?public void println()
public void println(char chr)
chr - character to be printedpublic void println(double dval)
dval - double value to be printedpublic void println(float fval)
fval - float value to be printedpublic void println(int ival)
ival - integer value to be printedpublic void println(long lval)
lval - long value to be printedpublic void println(Object obj)
obj - The toString() representation of the Object will be printedpublic void println(String str)
str - String to the printedpublic void println(boolean flag)
flag - Boolean value to be rendered TRUE or FALSEpublic void println(char[] achar)
achar - char[] to be printedpublic void println(byte[] abyte)
abyte - byte array to be printedprotected void setError()
public void write(int i)
write in class FilterOutputStreami - ?public void write(byte[] abyte0,
int i,
int j)
write in class FilterOutputStreamabyte0 - ?i - ?j - ?