Servertec StreamTokenizer
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
Change Log
Future Plans
Knowledge Base
Reference Manual
Conventions
Scriptlets
Data Types
Constants
Variables
Procedures
Operators
Statements
Objects
Array
Config
Context
Cookie
Date
Enumeration
File
FileDescriptor
Hashtable
Internet
IO
JDBC
Number
Object
Properties
Random
Request
RequestDispatcher
Response
Session
SqlTypes
Stack
StreamTokenizer
commentChar( )
eolIsSignificant( )
lowerCaseMode( )
nextToken( )
nval( )
ordinaryChar( )
ordinaryChars( )
parseNumbers( )
pushBack( )
quoteChar( )
resetSyntax( )
slashSlash
Comments( )

slashStarComments( )
StreamTokenizer( )
sval( )
toString( )
TT_EOF( )
TT_EOL( )
TT_NUMBER( )
TT_WORD( )
ttype( )
whitespaceChars( )
wordChars( )

String
StringBuffer
StringTokenizer
System
Vector

Wrappers
Servlet
Server Pages
Preprocessor
Executable
Samples
Legal
Contact Us

 

Performs operations on stream tokenizer objects.

Method Description
commentChar( ) Sets which character will be used as the single-line comment character by the specified stream tokenizer object.
eolIsSignificant( ) Sets whether end of lines are considered as tokens by the specified stream tokenizer object.
lowerCaseMode( ) Sets whether word tokens are automatically converted to lower case by the specified stream tokenizer object.
nextToken( ) Returns the next token from the specified stream tokenizer object.
nval( ) If the current token is a number, nval contains the value of that number using the specified string tokenizer object.
ordinaryChar( ) Sets the given character as ordinary in the specified stream tokenizer object.
ordinaryChars( ) Sets all characters in the given range as ordinary in the specified stream tokenizer object.
parseNumbers( ) Specifies that numbers should be parsed by the specified stream tokenizer object.
pushBack( ) Returns the current token to them stream in the specified stream tokenizer object.
quoteChar( ) Sets the given character as a string delimiter in the specified stream tokenizer object.
resetSyntax( ) Resets the specified stream tokenizer object so that all characters are ordinary.
slashSlashComments( ) Sets whether the specified stream tokenizer object recognizes C++ // style comments.
slashStarComments( ) Sets whether the specified stream tokenizer object recognizes C++ /**/ style comments.
StreamTokenizer( ) Returns a new stream tokenizer object using the specified input stream object.
sval( ) If the current token is a word, sval contains the value of that string using the specified string tokenizer object.
toString( ) Returns a string representation of the specified stream tokenizer object.
TT_EOF( ) Returns whether the end of file has been reached in the specified stream tokenizer object.
TT_EOL( ) Returns whether the end of line has been reached in the specified stream tokenizer object.
TT_NUMBER( ) Returns whether a numeric token has been read from the specified stream tokenizer object.
TT_WORD( ) Returns whether a word token has been read from the specified stream tokenizer object.
ttype( ) Returns the type of token just read from the specified stream tokenizer object.
whitespaceChars( ) Sets all characters in the given range as white space characters in the specified stream tokenizer object.
wordChars( ) Sets all characters in the given range as characters able to make a word in the specified stream tokenizer object.

 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Sun Sep 04 14:56:08 EDT 2005