vislab.io.StringReader

posted 10 Sep 2011, 06:45 by Masahiro Takatsuka   [ updated 10 Sep 2011, 06:48 ]
added vislab.io.StringReader class with StringReader_test.html.
The test .html now use good.testing.jsunit for unit testing.
StringReader allows you to read tokens from a string.  You can also specify a set of delimiters (such as ' ' (space), \n, \t \f).  
Its basic reading method readToken() returns a string.  You can also extract tokens in the form of Boolean (readBoolean()), Number (readNumber()).
Comments