java.lang.Object
java.util.Scanner
- All Implemented Interfaces:
- Iterator<String>
- See Also:
- Top Examples,
Character.isDigit
, getInfinity()
, getNegativeSuffix()
, getNegativePrefix()
, getPositiveSuffix()
, getPositivePrefix()
, getDecimalSeparator()
, getGroupingSeparator()
, useLocale(java.util.Locale)
, Locale.getDefault()
, useRadix(int)
, Closeable
, ioException()
, IOException
, Readable.read(java.nio.CharBuffer)
, InputMismatchException
, skip(java.util.regex.Pattern)
, findWithinHorizon(java.lang.String, int)
, findInLine(java.lang.String)
, hasNextInt()
, nextInt()
, hasNext()
, next()
, isWhitespace
public void close()
- See Also:
IllegalStateException
, Closeable
, readable
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Pattern delimiter()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String findInLine(String pattern)
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String findInLine(Pattern pattern)
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String findWithinHorizon(String pattern,
int horizon)
- See Also:
- IllegalArgumentException, IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String findWithinHorizon(Pattern pattern,
int horizon)
- See Also:
- IllegalArgumentException, IllegalStateException,
Matcher.useAnchoringBounds(boolean)
, Matcher.useTransparentBounds(boolean)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNext()
- See Also:
Iterator
, IllegalStateException, String
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNext(String pattern)
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNext(Pattern pattern)
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextBigDecimal()
- See Also:
- IllegalStateException,
nextBigDecimal()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextBigInteger()
- See Also:
- IllegalStateException,
nextBigInteger()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextBigInteger(int radix)
- See Also:
- IllegalStateException,
nextBigInteger()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextBoolean()
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextByte()
- See Also:
- IllegalStateException,
nextByte()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextByte(int radix)
- See Also:
- IllegalStateException,
nextByte()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextDouble()
- See Also:
- IllegalStateException,
nextDouble()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextFloat()
- See Also:
- IllegalStateException,
nextFloat()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextInt()
- See Also:
- IllegalStateException,
nextInt()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextInt(int radix)
- See Also:
- IllegalStateException,
nextInt()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextLine()
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextLong()
- See Also:
- IllegalStateException,
nextLong()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextLong(int radix)
- See Also:
- IllegalStateException,
nextLong()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextShort()
- See Also:
- IllegalStateException,
nextShort()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean hasNextShort(int radix)
- See Also:
- IllegalStateException,
nextShort()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public IOException ioException()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Locale locale()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public MatchResult match()
- See Also:
- IllegalStateException,
skip(java.util.regex.Pattern)
, findWithinHorizon(java.lang.String, int)
, findInLine(java.lang.String)
, nextInt()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String next()
- See Also:
Iterator
, IllegalStateException, NoSuchElementException, hasNext()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String next(String pattern)
- See Also:
- IllegalStateException, NoSuchElementException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String next(Pattern pattern)
- See Also:
- IllegalStateException, NoSuchElementException,
hasNext(Pattern)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BigDecimal nextBigDecimal()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
BigDecimal(String)
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BigInteger nextBigInteger()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public BigInteger nextBigInteger(int radix)
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
BigInteger(String, int)
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public boolean nextBoolean()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public byte nextByte()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public byte nextByte(int radix)
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Byte.parseByte
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public double nextDouble()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Double.parseDouble
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public float nextFloat()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Float.parseFloat
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int nextInt()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int nextInt(int radix)
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Integer.parseInt
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String nextLine()
- See Also:
- IllegalStateException, NoSuchElementException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public long nextLong()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public long nextLong(int radix)
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Long.parseLong
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public short nextShort()
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public short nextShort(int radix)
- See Also:
- IllegalStateException, NoSuchElementException, InputMismatchException,
Short.parseShort
, Character.digit
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public int radix()
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public void remove()
- See Also:
Iterator
, UnsupportedOperationException, String
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(File source)
throws FileNotFoundException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(File source,
String charsetName)
throws FileNotFoundException
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(InputStream source)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(InputStream source,
String charsetName)
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(Readable source)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(String source)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(ReadableByteChannel source)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner(ReadableByteChannel source,
String charsetName)
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner skip(String pattern)
- See Also:
- IllegalStateException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner skip(Pattern pattern)
- See Also:
- IllegalStateException, NoSuchElementException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public String toString()
- See Also:
- Object
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner useDelimiter(String pattern)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner useDelimiter(Pattern pattern)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner useLocale(Locale locale)
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples
public Scanner useRadix(int radix)
- See Also:
- IllegalArgumentException
- Geek's Notes:
- Description Add your codes or notes Search More Java Examples