Package org.apache.camel.util
Class Scanner
- java.lang.Object
-
- org.apache.camel.util.Scanner
-
-
Constructor Summary
Constructors Constructor Description Scanner(File source, String charsetName, String pattern)
Scanner(InputStream source, String charsetName, String pattern)
Scanner(Readable source, String pattern)
Scanner(String source, String pattern)
Scanner(String source, Pattern pattern)
Scanner(ReadableByteChannel source, String charsetName, String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getDelim()
boolean
hasNext()
String
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
Scanner
public Scanner(InputStream source, String charsetName, String pattern)
-
Scanner
public Scanner(File source, String charsetName, String pattern) throws FileNotFoundException
- Throws:
FileNotFoundException
-
Scanner
public Scanner(ReadableByteChannel source, String charsetName, String pattern)
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-