GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Index
  • Help
  • Frames
  • No Frames
  • All Classes
  • Pattern

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — Uses of Class java.util.Scanner (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Uses of Class
java.util.Scanner

  • Packages that use Scanner 
    Package Description
    java.util
    Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
    • Uses of Scanner in java.util

      Methods in java.util that return Scanner 
      Modifier and Type Method Description
      Scanner Scanner.reset()
      Resets this scanner.
      Scanner Scanner.skip(Pattern pattern)
      Skips input that matches the specified pattern, ignoring delimiters.
      Scanner Scanner.skip(String pattern)
      Skips input that matches a pattern constructed from the specified string.
      Scanner Scanner.useDelimiter(Pattern pattern)
      Sets this scanner's delimiting pattern to the specified pattern.
      Scanner Scanner.useDelimiter(String pattern)
      Sets this scanner's delimiting pattern to a pattern constructed from the specified String.
      Scanner Scanner.useLocale(Locale locale)
      Sets this scanner's locale to the specified locale.
      Scanner Scanner.useRadix(int radix)
      Sets this scanner's default radix to the specified radix.
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev
  • Next
  • Frames
  • No Frames
  • All Classes

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.