Class LanguageMap

  • Direct Known Subclasses:
    ClientLanguageMap

    public abstract class LanguageMap
    extends java.lang.Object
    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • GSON

        private static final com.google.gson.Gson GSON
      • UNSUPPORTED_FORMAT_PATTERN

        private static final java.util.regex.Pattern UNSUPPORTED_FORMAT_PATTERN
      • instance

        private static volatile LanguageMap instance
    • Constructor Detail

      • LanguageMap

        public LanguageMap()
    • Method Detail

      • loadDefault

        private static LanguageMap loadDefault()
      • loadFromJson

        public static void loadFromJson​(java.io.InputStream p_240593_0_,
                                        java.util.function.BiConsumer<java.lang.String,​java.lang.String> p_240593_1_)
      • getInstance

        public static LanguageMap getInstance()
      • inject

        public static void inject​(LanguageMap p_240594_0_)
      • getLanguageData

        public java.util.Map<java.lang.String,​java.lang.String> getLanguageData()
      • getOrDefault

        public abstract java.lang.String getOrDefault​(java.lang.String p_230503_1_)
      • has

        public abstract boolean has​(java.lang.String p_230506_1_)
      • isDefaultRightToLeft

        public abstract boolean isDefaultRightToLeft()