Package java.io
Class StreamTokenizer

Public Method toString

String toString()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method returns the string representation of the current stream token.

Example

   File file = new File("testFile");
   InputStream is = new FileInputStream(file);
   StreamTokenizer st = new StreamTokenizer(is);
   ...
   Logger.log(st.toString());

The example above writes the string representation of the current stream token to the logger.