Class 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
    • 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()
      • getStopWords

        public Set<String> getStopWords()
      • setStopWords

        public void setStopWords​(Set<String> stopWords)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getStemmer

        public org.tartarus.snowball.SnowballProgram getStemmer()