Package java.io
Class StreamTokenizer

Public Method parseNumbers

void parseNumbers()

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Specifies that numbers should be parsed by this tokenizer. The syntax table of this tokenizer is modified so that each of the following characters has the 'numeric' attribute.

Example

   File file = new File("testFile");
   InputStream is = new FileInputStream(file);
   StreamTokenizer st = new StreamTokenizer(is);
   st.parseNumbers();

All numbers are parsed by this tokenizer with the example above.