Package cc.mallet.pipe.iterator
Class LineIterator
- java.lang.Object
-
- cc.mallet.pipe.iterator.LineIterator
-
-
Constructor Summary
Constructors Constructor Description LineIterator(java.io.Reader input, java.lang.String lineRegex, int dataGroup, int targetGroup, int uriGroup)
LineIterator(java.io.Reader input, java.util.regex.Pattern lineRegex, int dataGroup, int targetGroup, int uriGroup)
LineIterator(java.lang.String filename, java.lang.String lineRegex, int dataGroup, int targetGroup, int uriGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Instance
next()
void
remove()
-
-
-
Constructor Detail
-
LineIterator
public LineIterator(java.io.Reader input, java.util.regex.Pattern lineRegex, int dataGroup, int targetGroup, int uriGroup)
-
LineIterator
public LineIterator(java.io.Reader input, java.lang.String lineRegex, int dataGroup, int targetGroup, int uriGroup)
-
LineIterator
public LineIterator(java.lang.String filename, java.lang.String lineRegex, int dataGroup, int targetGroup, int uriGroup) throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
-
-