What is mean by Stream Tokenizer ?

What is mean by Stream Tokenizer ?

The StreamTokenizer is class in Java that takesan input stream and parses it into \"tokens\",allowing the tokens to be read one at a time. Each byte read from the input stream is acharacter in the range from \'u0000\' to \'u00FF\'. 

The character value is used to look up five possible attributes of the character: white space, alphabetic, numeric, string quote, and comment character. Some Methods defined by StreamTokenizer class: * void whitespaceChars(int low, int hi) * void wordChars(int low, int hi) * String toString() * void slashStarComments(boolean flag) * void parseNumbers() * void ordinaryChars(int low, int hi) * int lineno() ,etc.


By:Jalees
Date:2013-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher