Package com.logicaldoc.core.i18n
Class Language
- java.lang.Object
-
- com.logicaldoc.core.i18n.Language
-
- All Implemented Interfaces:
Comparable<Language>
public class Language extends Object implements Comparable<Language>
Instances of this class represent a language supported by the LogicalDOC DMS- Since:
- 3.0.3
- Author:
- Alessandro Gasparini - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Language o)
org.apache.lucene.analysis.Analyzer
getAnalyzer()
String
getAnalyzerClass()
String
getDefaultDisplayLanguage()
String
getDisplayLanguage()
String
getLanguage()
Locale
getLocale()
org.tartarus.snowball.SnowballProgram
getStemmer()
Set<String>
getStopWords()
int
hashCode()
void
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
void
setAnalyzerClass(String analyzerClass)
void
setStopWords(Set<String> stopWords)
String
toString()
-
-
-
Constructor Detail
-
Language
public Language(Locale locale)
-
-
Method Detail
-
getLocale
public Locale getLocale()
-
getLanguage
public String getLanguage()
-
getDisplayLanguage
public String getDisplayLanguage()
-
getDefaultDisplayLanguage
public String getDefaultDisplayLanguage()
-
getAnalyzerClass
public String getAnalyzerClass()
-
setAnalyzerClass
public void setAnalyzerClass(String analyzerClass)
-
getAnalyzer
public org.apache.lucene.analysis.Analyzer getAnalyzer()
-
setAnalyzer
public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
-
compareTo
public int compareTo(Language o)
- Specified by:
compareTo
in interfaceComparable<Language>
-
getStemmer
public org.tartarus.snowball.SnowballProgram getStemmer()
-
-