Class RsLang


  • public class RsLang
    extends java.lang.Object
    Class used to canonicalize language string
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.String> canonicalLanguageStrings
      global set for canonical language strings
    • Constructor Summary

      Constructors 
      Constructor Description
      RsLang()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static java.lang.String getCanonicalLanguageString​(java.lang.String language)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • canonicalLanguageStrings

        private static final java.util.concurrent.ConcurrentMap<java.lang.String,​java.lang.String> canonicalLanguageStrings
        global set for canonical language strings
    • Constructor Detail

      • RsLang

        public RsLang()
    • Method Detail

      • getCanonicalLanguageString

        static java.lang.String getCanonicalLanguageString​(java.lang.String language)
        Parameters:
        language -
        Returns:
        x-unspecified if lang is null or a canonical version of the lang string