java > java.util > java.util.scanner >

Class: java.util.Scanner
    java.lang.Object
       java.util.Scanner


public final class Scanner extends Object implements Iterator


FIELDS:

CONSTRUCTORS:
public Scanner(Readable source)

public Scanner(InputStream source)

public Scanner(InputStream source, String charsetName)

public Scanner(File source)

public Scanner(File source, String charsetName)

public Scanner(String source)

public Scanner(ReadableByteChannel source)

public Scanner(ReadableByteChannel source, String charsetName)


METHODS:
public void close()

public Pattern delimiter()

public String findInLine(String pattern)
Throws: IllegalStateException

public String findInLine(Pattern pattern)
Throws: IllegalStateException

public String findWithinHorizon(String pattern, int horizon)
Throws: IllegalStateException
Throws: IllegalArgumentException

public String findWithinHorizon(Pattern pattern, int horizon)
Throws: IllegalStateException
Throws: IllegalArgumentException

public boolean hasNext()
Throws: IllegalStateException

public boolean hasNext(String pattern)
Throws: IllegalStateException

public boolean hasNext(Pattern pattern)
Throws: IllegalStateException

public boolean hasNextBigDecimal()
Throws: IllegalStateException

public boolean hasNextBigInteger()
Throws: IllegalStateException

public boolean hasNextBigInteger(int radix)
Throws: IllegalStateException

public boolean hasNextBoolean()
Throws: IllegalStateException

public boolean hasNextByte()
Throws: IllegalStateException

public boolean hasNextByte(int radix)
Throws: IllegalStateException

public boolean hasNextDouble()
Throws: IllegalStateException

public boolean hasNextFloat()
Throws: IllegalStateException

public boolean hasNextInt()
Throws: IllegalStateException

public boolean hasNextInt(int radix)
Throws: IllegalStateException

public boolean hasNextLine()
Throws: IllegalStateException

public boolean hasNextLong()
Throws: IllegalStateException

public boolean hasNextLong(int radix)
Throws: IllegalStateException

public boolean hasNextShort()
Throws: IllegalStateException

public boolean hasNextShort(int radix)
Throws: IllegalStateException

public IOException ioException()

public Locale locale()

public MatchResult match()
Throws: IllegalStateException

public String next()
Throws: NoSuchElementException
Throws: IllegalStateException

public String next(String pattern)
Throws: NoSuchElementException
Throws: IllegalStateException

public String next(Pattern pattern)
Throws: NoSuchElementException
Throws: IllegalStateException

public BigDecimal nextBigDecimal()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public BigInteger nextBigInteger()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public BigInteger nextBigInteger(int radix)
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public boolean nextBoolean()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public byte nextByte()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public byte nextByte(int radix)
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public double nextDouble()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public float nextFloat()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public int nextInt()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public int nextInt(int radix)
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public String nextLine()
Throws: NoSuchElementException
Throws: IllegalStateException

public long nextLong()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public long nextLong(int radix)
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public short nextShort()
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public short nextShort(int radix)
Throws: InputMismatchException
Throws: NoSuchElementException
Throws: IllegalStateException

public int radix()

public void remove()
Throws: UnsupportedOperationException

public Scanner reset()

public Scanner skip(String pattern)
Throws: IllegalStateException

public Scanner skip(Pattern pattern)
Throws: NoSuchElementException
Throws: IllegalStateException

public String toString()
Overrides: Object

public Scanner useDelimiter(String pattern)

public Scanner useDelimiter(Pattern pattern)

public Scanner useLocale(Locale locale)

public Scanner useRadix(int radix)
Throws: IllegalArgumentException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net