StreamTokenizer.NextToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the next token from the input stream of this tokenizer.
[Android.Runtime.Register("nextToken", "()I", "GetNextTokenHandler")]
public virtual Java.IO.TokenType NextToken ();
[<Android.Runtime.Register("nextToken", "()I", "GetNextTokenHandler")>]
abstract member NextToken : unit -> Java.IO.TokenType
override this.NextToken : unit -> Java.IO.TokenType
Returns
the value of the ttype
field.
- Attributes
Exceptions
if an I/O error occurs while parsing the next token.
Remarks
Parses the next token from the input stream of this tokenizer. The type of the next token is returned in the ttype
field. Additional information about the token may be in the nval
field or the sval
field of this tokenizer.
Typical clients of this class first set up the syntax tables and then sit in a loop calling nextToken to parse successive tokens until TT_EOF is returned.
Java documentation for java.io.StreamTokenizer.nextToken()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.