Creates a new scanner There is also a java.io.InputStream version of this
Enters a new lexical state
Returns the character at position pos from the matched text. It is equivalent to
Returns the length of the matched text region.
Resumes scanning until the next regular expression is matched, the end of input
is encountered or an
Resets the scanner to read from a new input stream. Does not close the old
reader. All internal vari
Returns the text matched by the current regular expression.
Refills the input buffer.
Reports an error that occurred while scanning. In a wellformed scanner (no or
only correct usage of