|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
public class PrintStream
Implements a wrapper for output streams to provide string printing methods.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Constructor Summary | |
---|---|
PrintStream(OutputStream destinationStream)
Constructs a PrintStream object for the specified stream. |
Method Summary | |
---|---|
boolean |
checkError()
Returns the value of error. |
void |
print(char[] chars)
Prints the specified character array to the stream. |
void |
print(int i)
Prints a string representation of the specified integer to the stream. |
void |
print(Object o)
Prints a string representation of the specified object to the stream. |
void |
print(String s)
Prints the specified string to the stream. |
void |
println()
Prints a new line to the stream. |
void |
println(char[] chars)
Prints the specified character array to the stream followed by a new line character. |
void |
println(int i)
Prints a string representation of the specified integer to the stream. |
void |
println(Object o)
Prints a string representation of the specified object to the stream follow by a new line. |
void |
println(String s)
Prints the specified string to the stream followed by a new line character. |
protected void |
setError()
Sets error to true. |
Methods inherited from class java.io.FilterOutputStream |
---|
close, flush, write, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait |
Constructor Detail |
---|
public PrintStream(OutputStream destinationStream)
destinationStream
- stream to print toMethod Detail |
---|
public boolean checkError()
public void print(char[] chars)
chars
- character arraypublic void print(int i)
i
- integer valuepublic void print(Object o)
Prints "null" if the reference is null.
o
- objectpublic void print(String s)
s
- stringpublic void println()
public void println(char[] chars)
chars
- character arraypublic void println(int i)
i
- integer valuepublic void println(Object o)
Prints "null" if the reference is null.
o
- objectpublic void println(String s)
s
- stringprotected void setError()
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |