Module java.base
Package java.util

# Class Scanner

=
public final class Scanner
extends java.lang.Object
implements java.io.Closeable, java.util.Iterator<java.lang.String>

## Constructors

- =
  public Scanner(java.io.File arg0) throws java.io.FileNotFoundException
- =
  public Scanner(java.io.File arg0, java.lang.String arg1) throws java.io.FileNotFoundException
- =
  public Scanner(java.io.File arg0, java.nio.charset.Charset arg1) throws java.io.IOException
- =
  public Scanner(java.io.InputStream arg0)
- =
  public Scanner(java.io.InputStream arg0, java.lang.String arg1)
- =
  public Scanner(java.io.InputStream arg0, java.nio.charset.Charset arg1)
- =
  public Scanner(java.lang.Readable arg0)
- =
  public Scanner(java.lang.String arg0)
- =
  public Scanner(java.nio.channels.ReadableByteChannel arg0)
- =
  public Scanner(java.nio.channels.ReadableByteChannel arg0, java.lang.String arg1)
- =
  public Scanner(java.nio.channels.ReadableByteChannel arg0, java.nio.charset.Charset arg1)
- =
  public Scanner(java.nio.file.Path arg0) throws java.io.IOException
- =
  public Scanner(java.nio.file.Path arg0, java.lang.String arg1) throws java.io.IOException
- =
  public Scanner(java.nio.file.Path arg0, java.nio.charset.Charset arg1) throws java.io.IOException

## Methods

- =
  public void close()
- =
  public java.util.regex.Pattern delimiter()
- =
  public java.util.stream.Stream<java.util.regex.MatchResult> findAll(java.lang.String arg0)
- =
  public java.util.stream.Stream<java.util.regex.MatchResult> findAll(java.util.regex.Pattern arg0)
- =
  public java.lang.String findInLine(java.lang.String arg0)
- =
  public java.lang.String findInLine(java.util.regex.Pattern arg0)
- =
  public java.lang.String findWithinHorizon(java.lang.String arg0, int arg1)
- =
  public java.lang.String findWithinHorizon(java.util.regex.Pattern arg0, int arg1)
- =
  public boolean hasNext()
- =
  public boolean hasNext(java.lang.String arg0)
- =
  public boolean hasNext(java.util.regex.Pattern arg0)
- =
  public boolean hasNextBigDecimal()
- =
  public boolean hasNextBigInteger()
- =
  public boolean hasNextBigInteger(int arg0)
- =
  public boolean hasNextBoolean()
- =
  public boolean hasNextByte()
- =
  public boolean hasNextByte(int arg0)
- =
  public boolean hasNextDouble()
- =
  public boolean hasNextFloat()
- =
  public boolean hasNextInt()
- =
  public boolean hasNextInt(int arg0)
- =
  public boolean hasNextLine()
- =
  public boolean hasNextLong()
- =
  public boolean hasNextLong(int arg0)
- =
  public boolean hasNextShort()
- =
  public boolean hasNextShort(int arg0)
- =
  public java.io.IOException ioException()
- =
  public java.util.Locale locale()
- =
  public java.util.regex.MatchResult match()
- =
  public java.lang.String next()
- =
  public java.lang.String next(java.lang.String arg0)
- =
  public java.lang.String next(java.util.regex.Pattern arg0)
- =
  public java.math.BigDecimal nextBigDecimal()
- =
  public java.math.BigInteger nextBigInteger()
- =
  public java.math.BigInteger nextBigInteger(int arg0)
- =
  public boolean nextBoolean()
- =
  public byte nextByte()
- =
  public byte nextByte(int arg0)
- =
  public double nextDouble()
- =
  public float nextFloat()
- =
  public int nextInt()
- =
  public int nextInt(int arg0)
- =
  public java.lang.String nextLine()
- =
  public long nextLong()
- =
  public long nextLong(int arg0)
- =
  public short nextShort()
- =
  public short nextShort(int arg0)
- =
  public int radix()
- =
  public void remove()
- =
  public java.util.Scanner reset()
- =
  public java.util.Scanner skip(java.lang.String arg0)
- =
  public java.util.Scanner skip(java.util.regex.Pattern arg0)
- =
  public java.lang.String toString()
- =
  public java.util.stream.Stream<java.lang.String> tokens()
- =
  public java.util.Scanner useDelimiter(java.lang.String arg0)
- =
  public java.util.Scanner useDelimiter(java.util.regex.Pattern arg0)
- =
  public java.util.Scanner useLocale(java.util.Locale arg0)
- =
  public java.util.Scanner useRadix(int arg0)

## Summary

No differences.