Package java.io
Class StreamTokenizer
void ordinaryChar(int ch)
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Specifies that the character argument is 'ordinary' in this tokenizer. It removes any special significance the character has as a comment character, word component, string delimiter, whitespace, or number character. When such a character is encountered by the parser, the parser treats it as a single-character token and sets ttype field to the character value.
Example
File file = new File("testFile");
InputStream is = new FileInputStream(file);
StreamTokenizer st = new StreamTokenizer(is);
...
st.ordinaryChar('h');
The character which is specified by the ordinaryChar method is treated as token.