THE PACKAGE JAVA.IO
java.io.StreamTokenizer
22.14
22.14.6
public String sval;
If the value of
ttype
 is
TT_WORD
 or a string quote character, then the value of
sval
 is a
String
 that contains the characters of the identifier or of the string
(without the delimiting string quotes). For all other types of tokens recognized,
the value of
sval
 is
null
.
22.14.7
public double nval;
If the value of
ttype
 is
TT_NUMBER
, then the value of
nval
 is the numerical value
of the number.
22.14.8
public StreamTokenizer(InputStream in)
This constructor initializes a newly created
StreamTokenizer
 by saving its argu 
ment, the input stream
in
, for later use. The
StreamTokenizer
 is also initialized
to the following default state:
All byte values
 A 
 through
 Z 
,
 a 
 through
 z 
, and
0xA0
 through
0xFF
are considered to be alphabetic.
All byte values
0x00
 through
0x20
 are considered to be whitespace.
 / 
 is a comment character.
Single quote
 \  
 and double quote
 " 
 are string quote characters.
Numbers are parsed.
End of line is not significant.
//
 comments and
/*
 comments are not recognized.
22.14.9
public void resetSyntax()
The syntax table for this
StreamTokenizer
 is reset so that every byte value is
 ordinary ; thus, no character is recognized as being a whitespace, alphabetic,
numeric, string quote, or comment character. Calling this method is therefore
equivalent to:
ordinaryChars(0x00, 0xff)
The three flags controlling recognition of line terminators,
//
 comments, and
/*
comments are unaffected.
715






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved