Class ICUConfig

java.lang.Object
com.ibm.icu.impl.ICUConfig

public class ICUConfig extends Object
ICUConfig is a class used for accessing ICU4J runtime configuration.
  • Field Details

  • Constructor Details

    • ICUConfig

      public ICUConfig()
  • Method Details

    • get

      public static String get(String name)
      Get ICU configuration property value for the given name.
      Parameters:
      name - The configuration property name
      Returns:
      The configuration property value, or null if it does not exist.
    • get

      public static String get(String name, String def)
      Get ICU configuration property value for the given name.
      Parameters:
      name - The configuration property name
      def - The default value
      Returns:
      The configuration property value. If the property does not exist, def is returned.