|
Luigi Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IndexConfiguration
This is the configuration for an index. Implementations of this class must provide three responsibilities:
| Method Summary | |
|---|---|
void |
addChangeEventListener(ChangeEventListener listener)
Adds a ChangeEventListener to the IndexConfiguration object |
void |
fireIndexChanged()
fires a change event that will be catched by the current listeners. |
Analyzer |
getAnalyzer()
Gets the analyzer attribute of the IndexConfiguration object |
Directory |
getDirectory(boolean deleteContents)
gets the existing Directory instance. |
String |
getIndexName()
Gets the indexName attribute of the IndexConfiguration object. |
void |
removeChangeEventListener(ChangeEventListener listener)
TODO: Description of the Method |
| Method Detail |
|---|
String getIndexName()
Directory getDirectory(boolean deleteContents)
throws IOException
deleteContents - if true, will delete any contents of the directory
IOException - if Lucene throws IOExceptionAnalyzer getAnalyzer()
void addChangeEventListener(ChangeEventListener listener)
listener - The ChangeEventListener to be addedvoid removeChangeEventListener(ChangeEventListener listener)
listener - TODO: Description of the Parametervoid fireIndexChanged()
|
Luigi Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||