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(char c) |
void |
println(char[] ac) |
void |
println(double d) |
void |
println(float f) |
void |
println(int i) |
void |
println(long l) |
void |
println(Object obj) |
void |
println(String s) |
protected void |
setError()
setError
|
void |
write(byte[] abyte0,
int i,
int j) |
void |
write(int i) |
write
public PrintStream(OutputStream outputstream)
outputstream
- ?public PrintStream(OutputStream outputstream, boolean flag)
outputstream
- ?flag
- ?public boolean checkError()
public void close()
close
in class FilterOutputStream
public void flush()
flush
in class FilterOutputStream
public 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 c)
c
- ?public void println(double d)
d
- ?public void println(float f)
f
- ?public void println(int i)
i
- ?public void println(long l)
l
- ?public void println(Object obj)
obj
- ?public void println(String s)
s
- ?public void println(boolean flag)
flag
- ?public void println(char[] ac)
ac
- ?protected void setError()
public void write(int i)
write
in class FilterOutputStream
i
- ?public void write(byte[] abyte0, int i, int j)
write
in class FilterOutputStream
abyte0
- ?i
- ?j
- ?