public class PrintStream extends OutputStream
| Constructor and Description |
|---|
PrintStream(OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkError() |
void |
close() |
void |
flush() |
void |
print(boolean b) |
void |
print(char c) |
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 |
println() |
void |
println(boolean 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(String x) |
protected void |
setError() |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int b) |
writepublic PrintStream(OutputStream out)
public boolean checkError()
public void close()
close in interface AutoCloseableclose in class OutputStreampublic void flush()
flush in class OutputStreampublic void print(boolean b)
public void print(char c)
public void print(double d)
public void print(float f)
public void print(int i)
public void print(long l)
public void print(Object obj)
public void print(String s)
public void println()
public void println(boolean x)
public void println(char x)
public void println(double x)
public void println(float x)
public void println(int x)
public void println(long x)
public void println(Object x)
public void println(String x)
protected void setError()
public void write(byte[] buf,
int off,
int len)
write in class OutputStreampublic void write(int b)
write in class OutputStreamCopyright © 2026. All rights reserved.