blue.io
Class OUT

java.lang.Object
  |
  +--blue.io.OUT

public class OUT
extends java.lang.Object

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

OUT

public OUT(java.lang.String fileName)
Create a 'text output stream' and equate it with the file whose name is the given String.
Parameters:
fileName - the relative or absolute name of the file to which tokens will be written
Method Detail

print

public void print(int i)
Writes the given int to the output stream.

println

public void println(int i)
Writes the given int to the output stream followed by a new line.

print

public void print(char c)
Writes the given char to the output stream.

println

public void println(char c)
Writes the given char to the output stream followed by a new line.

print

public void print(boolean b)
Writes the given boolean to the output stream.

println

public void println(boolean b)
Writes the given boolean to the output stream followed by a new line.

print

public void print(java.lang.String s)
Writes the given String to the output stream.

println

public void println(java.lang.String s)
Writes the given String to the output stream followed by a new line.

println

public void println()
Issue a new line command to the stream which is this object.

close

public void close()
Close the file associated with this stream and disestablish the communication link between this stream and the file.