gpdraw
Class FileInput
java.lang.Object
gpdraw.FileInput
public class FileInput
- extends java.lang.Object
File input processing frontend for the Scanner class
- Since:
- JDK1.5
- Version:
- 1.11, 08/12/06
- Author:
- George Peck
- See Also:
Scanner
Constructor Summary |
FileInput()
|
FileInput(java.io.InputStream source)
|
FileInput(java.io.InputStream source,
java.lang.String charsetName)
|
FileInput(java.lang.String source)
|
FileInput(java.lang.String source,
java.lang.String charsetName)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FileInput
public FileInput(java.lang.String source)
FileInput
public FileInput(java.lang.String source,
java.lang.String charsetName)
FileInput
public FileInput(java.io.InputStream source)
FileInput
public FileInput(java.io.InputStream source,
java.lang.String charsetName)
FileInput
public FileInput()
close
public void close()
delimiter
public java.util.regex.Pattern delimiter()
findInLine
public java.lang.String findInLine(java.util.regex.Pattern pattern)
findInLine
public java.lang.String findInLine(java.lang.String pattern)
findWithinHorizon
public java.lang.String findWithinHorizon(java.util.regex.Pattern pattern,
int horizon)
findWithinHorizon
public java.lang.String findWithinHorizon(java.lang.String pattern,
int horizon)
hasNext
public boolean hasNext()
hasNext
public boolean hasNext(java.util.regex.Pattern pattern)
hasNext
public boolean hasNext(java.lang.String pattern)
hasNextBigDecimal
public boolean hasNextBigDecimal()
hasNextBigInteger
public boolean hasNextBigInteger()
hasNextBigInteger
public boolean hasNextBigInteger(int radix)
hasNextBoolean
public boolean hasNextBoolean()
hasNextByte
public boolean hasNextByte()
hasNextByte
public boolean hasNextByte(int radix)
hasNextDouble
public boolean hasNextDouble()
hasNextFloat
public boolean hasNextFloat()
hasNextInt
public boolean hasNextInt()
hasNextInt
public boolean hasNextInt(int radix)
hasNextLine
public boolean hasNextLine()
hasNextLong
public boolean hasNextLong()
hasNextShort
public boolean hasNextShort()
hasNextShort
public boolean hasNextShort(int radix)
ioException
public java.io.IOException ioException()
locale
public java.util.Locale locale()
match
public java.util.regex.MatchResult match()
next
public java.lang.String next()
next
public java.lang.String next(java.util.regex.Pattern pattern)
next
public java.lang.String next(java.lang.String pattern)
nextBigDecimal
public java.math.BigDecimal nextBigDecimal()
nextBigInteger
public java.math.BigInteger nextBigInteger()
nextBigInteger
public java.math.BigInteger nextBigInteger(int radix)
nextBoolean
public boolean nextBoolean()
nextByte
public byte nextByte()
nextByte
public byte nextByte(int radix)
nextDouble
public double nextDouble()
nextFloat
public float nextFloat()
nextInt
public int nextInt()
nextInt
public int nextInt(int radix)
nextLine
public java.lang.String nextLine()
nextLong
public long nextLong()
nextLong
public long nextLong(int radix)
nextShort
public short nextShort()
nextShort
public short nextShort(int radix)
radix
public int radix()
remove
public void remove()
skip
public java.util.Scanner skip(java.util.regex.Pattern pattern)
skip
public java.util.Scanner skip(java.lang.String pattern)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
useDelimiter
public java.util.Scanner useDelimiter(java.util.regex.Pattern pattern)
useDelimiter
public java.util.Scanner useDelimiter(java.lang.String pattern)
useLocale
public java.util.Scanner useLocale(java.util.Locale locale)
useRadix
public java.util.Scanner useRadix(int radix)