|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.man.documentparser.input.TextFile
public class TextFile
Field Summary | |
---|---|
private java.io.File[] |
files
|
private java.lang.String |
id
|
private int |
nextArticle
|
private java.lang.String |
text
|
Constructor Summary | |
---|---|
TextFile(java.io.File[] files)
|
|
TextFile(java.lang.String text)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
java.util.Iterator<Document> |
iterator()
|
Document |
next()
|
void |
remove()
|
void |
skip()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int nextArticle
private java.io.File[] files
private java.lang.String text
private java.lang.String id
Constructor Detail |
---|
public TextFile(java.io.File[] files)
public TextFile(java.lang.String text)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Document>
public java.util.Iterator<Document> iterator()
iterator
in interface java.lang.Iterable<Document>
public Document next()
next
in interface java.util.Iterator<Document>
public void remove()
remove
in interface java.util.Iterator<Document>
public void skip()
skip
in interface DocumentIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |