Constructor and Description |
---|
Scanner(File source,
String charsetName,
String pattern) |
Scanner(InputStream source,
String charsetName,
String pattern) |
Scanner(ReadableByteChannel source,
String charsetName,
String pattern) |
Scanner(Readable source,
String pattern) |
Scanner(String source,
Pattern pattern) |
Scanner(String source,
String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
String |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, remove
public Scanner(InputStream source, String charsetName, String pattern)
public Scanner(File source, String charsetName, String pattern) throws FileNotFoundException
FileNotFoundException
public Scanner(ReadableByteChannel source, String charsetName, String pattern)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Apache Camel