The members of Java.Util.Scanner are listed below.
See Also: Inherited members from Java.Lang.Object
Creates a Scanner with the specified File as input. | ||
Creates a Scanner with the specified Readable as input. | ||
Creates a Scanner with the specified ReadableByteChannel as input. | ||
Creates a Scanner on the specified InputStream. | ||
Creates a Scanner on the specified string. | ||
Creates a Scanner with the specified File as input. | ||
Creates a Scanner with the specified ReadableByteChannel as input. | ||
Creates a Scanner on the specified InputStream. |
[read-only] | HasNext | bool. Returns whether this Scanner has one or more tokens remaining to parse. |
[read-only] | HasNextBigDecimal | bool. Returns whether the next token can be translated into a valid BigDecimal. |
[read-only] | HasNextBigInteger | bool. Returns whether the next token can be translated into a valid BigInteger in the default radix. |
[read-only] | HasNextBoolean | bool. Returns whether the next token can be translated into a valid boolean value. |
[read-only] | HasNextByte | bool. Returns whether the next token can be translated into a valid byte value in the default radix. |
[read-only] | HasNextDouble | bool. Returns whether the next token translated into a valid double value. |
[read-only] | HasNextFloat | bool. Returns whether the next token can be translated into a valid float value. |
[read-only] | HasNextInt | bool. Returns whether the next token can be translated into a valid int value in the default radix. |
[read-only] | HasNextLine | bool. Returns true if there is a line terminator in the input. |
[read-only] | HasNextLong | bool. Returns whether the next token can be translated into a valid long value in the default radix. |
[read-only] | HasNextShort | bool. Returns whether the next token can be translated into a valid short value in the default radix. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Close()Closes this Scanner and the underlying input if the input implements Closeable. | ||
Delimiter()Returns the delimiter Pattern in use by this Scanner. | ||
FindInLine(Java.Util.Regex.Pattern)Tries to find the pattern in the input. | ||
FindInLine(string)Compiles the pattern string and tries to find a substring matching it in the input data. | ||
FindWithinHorizon(Java.Util.Regex.Pattern, int)Tries to find the pattern in the input between the current position and the specified horizon. | ||
FindWithinHorizon(string, int)Tries to find the pattern in the input between the current position and the specified horizon. | ||
InvokeHasNext(Java.Util.Regex.Pattern)Returns whether this Scanner has one or more tokens remaining to parse and the next token matches the given pattern. | ||
InvokeHasNext(string)Returns true if this Scanner has one or more tokens remaining to parse and the next token matches a pattern compiled from the given string. | ||
InvokeHasNextBigInteger(int)Returns whether the next token can be translated into a valid BigInteger in the specified radix. | ||
InvokeHasNextByte(int)Returns whether the next token can be translated into a valid byte value in the specified radix. | ||
InvokeHasNextInt(int)Returns whether the next token can be translated into a valid int value in the specified radix. | ||
InvokeHasNextLong(int)Returns whether the next token can be translated into a valid long value in the specified radix. | ||
InvokeHasNextShort(int)Returns whether the next token can be translated into a valid short value in the specified radix. | ||
IoException()Returns the last IOException that was raised while reading from the underlying input, or null if none was thrown. | ||
Locale()Returns the Locale of this Scanner. | ||
Match()Returns the result of the last matching operation. | ||
Next()Returns the next token. | ||
Next(Java.Util.Regex.Pattern)Returns the next token if it matches the specified pattern. | ||
Next(string)Returns the next token if it matches the specified pattern. | ||
NextBigDecimal()Returns the next token as a BigDecimal. | ||
NextBigInteger()Returns the next token as a BigInteger in the current radix. | ||
NextBigInteger(int)Returns the next token as a BigInteger with the specified radix. | ||
NextBoolean()Returns the next token as a boolean. | ||
NextByte()Returns the next token as a byte in the current radix. | ||
NextByte(int)Returns the next token as a byte with the specified radix. | ||
NextDouble()Returns the next token as a double. | ||
NextFloat()Returns the next token as a float. | ||
NextInt()Returns the next token as an int in the current radix. | ||
NextInt(int)Returns the next token as an int with the specified radix. | ||
NextLine()Returns the skipped input and advances the Scanner to the beginning of the next line. | ||
NextLong()Returns the next token as a long in the current radix. | ||
NextLong(int)Returns the next token as a long with the specified radix. | ||
NextShort()Returns the next token as a short in the current radix. | ||
NextShort(int)Returns the next token as a short with the specified radix. | ||
Radix()Return the radix of this Scanner. | ||
Remove()Remove is not a supported operation on Scanner. | ||
Reset()Resets this scanner's delimiter, locale, and radix. | ||
Skip(Java.Util.Regex.Pattern)Tries to use specified pattern to match input starting from the current position. | ||
Skip(string)Tries to use the specified string to construct a pattern and then uses the constructed pattern to match input starting from the current position. | ||
UseDelimiter(Java.Util.Regex.Pattern)Sets the delimiting pattern of this Scanner. | ||
UseDelimiter(string)Sets the delimiting pattern of this Scanner with a pattern compiled from the supplied string value. | ||
UseLocale(Locale)Sets the Locale of this Scanner to a specified Locale. | ||
UseRadix(int)Sets the radix of this Scanner to the specified radix. |
Java.Util.IIterator.Next | Documentation for this section has not yet been entered. |