public class VocabularyManagerImpl extends Object implements VocabularyManager
| Constructor and Description |
|---|
VocabularyManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<Locale> |
getLocales() |
Map<String,Vocabulary> |
getVocabulariesMap() |
eu.dnetlib.domain.enabling.Vocabulary |
getVocabulary(String vocabularyName,
Locale locale)
Returns the path where the requested vocabulary is
|
eu.dnetlib.domain.enabling.Vocabulary |
getVocabulary(String vocabularyName,
Locale locale,
boolean loadanyway) |
Set<String> |
getVocabularyNames() |
void |
init() |
void |
setConfig(Configuration config) |
void |
setIndexVocabularyLoader(IndexVocabularyLoader indexVocabularyLoader) |
void |
setIsVocabularyLoader(ISVocabularyLoader isVocabularyLoader) |
void |
setLocalVocabularyLoader(LocalVocabularyLoader localVocabularyLoader) |
String |
translate(String name,
String l,
String encoding,
String default_value) |
public void init()
public String translate(String name, String l, String encoding, String default_value)
translate in interface VocabularyManagerpublic eu.dnetlib.domain.enabling.Vocabulary getVocabulary(String vocabularyName, Locale locale)
VocabularyManagergetVocabulary in interface VocabularyManagervocabularyName - The name of the vocabularylocale - the localepublic eu.dnetlib.domain.enabling.Vocabulary getVocabulary(String vocabularyName, Locale locale, boolean loadanyway)
getVocabulary in interface VocabularyManagerpublic void setConfig(Configuration config)
public void setIsVocabularyLoader(ISVocabularyLoader isVocabularyLoader)
public void setIndexVocabularyLoader(IndexVocabularyLoader indexVocabularyLoader)
public void setLocalVocabularyLoader(LocalVocabularyLoader localVocabularyLoader)
public Map<String,Vocabulary> getVocabulariesMap()
public Set<String> getVocabularyNames()
getVocabularyNames in interface VocabularyManagerpublic List<Locale> getLocales()
getLocales in interface VocabularyManagerCopyright © 2020. All rights reserved.