public class PrintWriter extends Writer
Constructor and Description |
---|
PrintWriter(OutputStream outputstream) |
PrintWriter(OutputStream outputstream,
boolean flag) |
PrintWriter(Writer writer) |
PrintWriter(Writer writer,
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 |
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(char[] ac) |
void |
write(char[] ac,
int i,
int j) |
void |
write(int i)
write
|
void |
write(String s) |
void |
write(String s,
int i,
int j) |
public PrintWriter(OutputStream outputstream)
outputstream
- ?public PrintWriter(OutputStream outputstream, boolean flag)
outputstream
- ?flag
- ?public PrintWriter(Writer writer)
writer
- ?public PrintWriter(Writer writer, boolean flag)
writer
- ?flag
- ?public boolean checkError()
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(String s, int i, int j)