Package java.io
Class StreamTokenizer

Public Method whitespaceChars

void whitespaceChars(int low, int hi)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

This method specifies that all characters c in the range low ≤ c ≤ high are word constituents. A word token consists of a word constituent followed by zero or more constituents or number constituents.

Example

   File file = new File("testFile");
   InputStream is = new FileInputStream(file);
   StreamTokenizer st = new StreamTokenizer(is);
   ...
   st.whitespaceChars('a','c');

All characters between 'a' and 'c' characters and also the 'a' and 'c' characters regarded as word constituents after the whitespaceChars method call.