|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SynonymProvider
SynonymProvider defines an interface for a component that
returns synonyms for a given term.
| Method Summary | |
|---|---|
java.lang.String[] |
getSynonyms(java.lang.String term)
Returns an array of terms that are considered synonyms for the given term. |
void |
initialize(FileSystemResource fsr)
Initializes the synonym provider and passes the file system resource to the synonym provider configuration defined by the configuration value of the synonymProviderConfigPath parameter. |
| Method Detail |
|---|
void initialize(FileSystemResource fsr)
throws java.io.IOException
synonymProviderConfigPath parameter. The resource may be
null if the configuration parameter is not set.
fsr - the file system resource to the synonym provider
configuration.
java.io.IOException - if an error occurs while initializing the synonym
provider.java.lang.String[] getSynonyms(java.lang.String term)
term.
term - a search term.
term or an empty
array if no synonyms are known.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||