Packages that use Scanner
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.
Methods in java.util that return Scanner
Modifier and Type
Scanner. () reset
Resets this scanner.
Scanner. ( skip String pattern)
Skips input that matches a pattern constructed from the specified
Scanner. ( skip Pattern pattern)
Skips input that matches the specified pattern, ignoring delimiters.
Scanner. ( useDelimiter String pattern)
Sets this scanner's delimiting pattern to a pattern constructed from
Scanner. ( useDelimiter Pattern pattern)
Sets this scanner's delimiting pattern to the specified pattern.
Scanner. ( useLocale Locale locale)
Sets this scanner's locale to the specified locale.
Scanner. (int radix) useRadix
Sets this scanner's default radix to the specified radix.
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2018, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy.