|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cc.mallet.pipe.iterator.SelectiveFileLineIterator
public class SelectiveFileLineIterator
Very similar to the SimpleFileLineIterator, but skips lines that match a regular expression.
Constructor Summary | |
---|---|
SelectiveFileLineIterator(java.io.Reader reader,
java.lang.String skipRegex)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
Instance |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SelectiveFileLineIterator(java.io.Reader reader, java.lang.String skipRegex)
Method Detail |
---|
public Instance next()
next
in interface java.util.Iterator<Instance>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Instance>
public void remove()
remove
in interface java.util.Iterator<Instance>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |