Uses of Class
java.util.Scanner
Package
Description
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
-
Uses of Scanner in java.util
Modifier and TypeMethodDescriptionScanner.reset()
Resets this scanner.Skips input that matches a pattern constructed from the specified string.Skips input that matches the specified pattern, ignoring delimiters.Scanner.useDelimiter
(String pattern) Sets this scanner's delimiting pattern to a pattern constructed from the specifiedString
.Scanner.useDelimiter
(Pattern pattern) Sets this scanner's delimiting pattern to the specified pattern.Sets this scanner's locale to the specified locale.Scanner.useRadix
(int radix) Sets this scanner's default radix to the specified radix.