|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--blue.io.OUT
Convenience class used to write 'text' from disk files.
Constructor Summary | |
OUT(java.lang.String fileName)
Create a 'text output stream' and equate it with the file whose name is the given String. |
Method Summary | |
void |
close()
Close the file associated with this stream and disestablish the communication link between this stream and the file. |
void |
print(boolean b)
Writes the given boolean to the output stream. |
void |
print(char c)
Writes the given char to the output stream. |
void |
print(int i)
Writes the given int to the output stream. |
void |
print(java.lang.String s)
Writes the given String to the output stream. |
void |
println()
Issue a new line command to the stream which is this object. |
void |
println(boolean b)
Writes the given boolean to the output stream followed by a new line. |
void |
println(char c)
Writes the given char to the output stream followed by a new line. |
void |
println(int i)
Writes the given int to the output stream followed by a new line. |
void |
println(java.lang.String s)
Writes the given String to the output stream followed by a new line. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public OUT(java.lang.String fileName)
fileName
- the relative or absolute name of the file
to which tokens will be writtenMethod Detail |
public void print(int i)
public void println(int i)
public void print(char c)
public void println(char c)
public void print(boolean b)
public void println(boolean b)
public void print(java.lang.String s)
public void println(java.lang.String s)
public void println()
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |