Package java.io
Class StreamTokenizer
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.