Class LocaleSystem

java.lang.Object
com.djrapitops.plan.settings.locale.LocaleSystem
All Implemented Interfaces:
SubSystem

@Singleton public class LocaleSystem extends Object implements SubSystem
System in charge of Locale.
  • Constructor Details

  • Method Details

    • getIdentifiers

      public static Map<String,​Lang> getIdentifiers()
    • getKeys

      public static Map<String,​Lang> getKeys()
    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem
    • getLocale

      public Locale getLocale()
    • getLocaleVersion

      public long getLocaleVersion()
    • getCustomLocaleVersion

      public Optional<Long> getCustomLocaleVersion()