Class IndexBuilder
java.lang.Object
javax.help.search.IndexBuilder
Abstract base class that builds an index for a search database.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidclose()Closes the index.abstract voidCloses the document.abstract EnumerationReturns the list of stopwords for an index.abstract voidopenDocument(String name) Opens a document to store information.abstract voidstoreLocation(String text, int position) Stores a concept at a given position.abstract voidstoreStopWords(Enumeration stopWords) Sets the stopwords in an index.abstract voidstoreTitle(String title) Stores the title for the document.
-
Field Details
-
indexDir
-
-
Constructor Details
-
IndexBuilder
-
-
Method Details
-
close
-
storeStopWords
Sets the stopwords in an index. If the stopwords are already defined for an index, the stop words are merged with the existing set of stopwords. -
getStopWords
Returns the list of stopwords for an index. -
openDocument
-
closeDocument
-
storeLocation
-
storeTitle
-