public interface Document
Modifier and Type | Method and Description |
---|---|
boolean |
endOfDocument()
Returns true when the end of the document has been reached, and there
are no other terms to be retrieved from it.
|
Map<String,String> |
getAllProperties()
Returns the underlying map of all the properties defined by this Document.
|
Set<String> |
getFields()
Returns a list of the fields the current term appears in.
|
String |
getNextTerm()
Gets the next term of the document.
|
String |
getProperty(String name)
Allows access to a named property of the Document.
|
Reader |
getReader()
Returns a Reader object so client code can tokenise the document
or deal with the document itself.
|
String getNextTerm()
Set<String> getFields()
boolean endOfDocument()
Reader getReader()
String getProperty(String name)
name
- Name of the property. It is suggested, but not required that this name
should not be case insensitive.Terrier 4.0. Copyright © 2004-2014 University of Glasgow