java.util
Class StringTokenizer

Constructor Summary
StringTokenizer(String str)
          Constructs a string tokenizer for the specified string.
StringTokenizer(String str, String delim)
          Constructs a string tokenizer for the specified string, using the characters in delim as separtors.
 
Method Summary
 int countTokens()
          Calculates the number of times that this tokenizer's nextToken method can be called before it generates an exception.
 boolean hasMoreTokens()
          Tests if there are more tokens available from this tokenizer's string.
 String nextToken()
          Returns the next token from this string tokenizer.

java.io
Class PrintWriter

Constructor Summary
PrintWriter(String filename)
           Creates a new PrintWriter, without automatic line flushing, with the specified file name.
 
Method Summary
 void close()
          Close the stream.
 void print(String x)
          Print a String.
 void println(String x)
          Print a String and then terminate the line.

java.io
Class FileInputStream

Constructor Summary
FileInputStream(String name)
          Creates a FileInputStream by opening a connection to an actual file, the file named by the path name name in the file system.


java.util
Class Scanner

Constructor Summary
Scanner(InputStream source)
          Constructs a new Scanner that produces values scanned from the specified input stream.
 
Method Summary
 void close()
          Closes this scanner (and the underlying file).
 boolean hasNextLine()
          Returns true if there is another line in the input of this scanner.
 String nextLine()
          Advances this scanner past the current line and returns the input that was skipped.