Class LocaleData


  • public final class LocaleData
    extends java.lang.Object
    A class for accessing miscelleneous data in the locale bundles
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LocaleData.OpenTypeData
      A class for OpenType data like OpenType language tags
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int ALT_QUOTATION_END
      Delimiter type for #getDelimiter(int).
      static int ALT_QUOTATION_START
      Delimiter type for #getDelimiter(int).
      static int DELIMITER_COUNT
      Count of delimiter types for #getDelimiter(int).
      static int ES_AUXILIARY
      EXType for #getExemplarSet(int, int).
      static int ES_COUNT
      Count of EXTypes for #getExemplarSet(int, int).
      static int ES_STANDARD
      EXType for #getExemplarSet(int, int).
      static int QUOTATION_END
      Delimiter type for #getDelimiter(int).
      static int QUOTATION_START
      Delimiter type for #getDelimiter(int).
    • Field Detail

      • ES_STANDARD

        public static final int ES_STANDARD
        EXType for #getExemplarSet(int, int).
        See Also:
        Constant Field Values
      • ES_AUXILIARY

        public static final int ES_AUXILIARY
        EXType for #getExemplarSet(int, int).
        See Also:
        Constant Field Values
      • ES_COUNT

        public static final int ES_COUNT
        Count of EXTypes for #getExemplarSet(int, int).
        See Also:
        Constant Field Values
      • QUOTATION_START

        public static final int QUOTATION_START
        Delimiter type for #getDelimiter(int).
        See Also:
        Constant Field Values
      • QUOTATION_END

        public static final int QUOTATION_END
        Delimiter type for #getDelimiter(int).
        See Also:
        Constant Field Values
      • ALT_QUOTATION_START

        public static final int ALT_QUOTATION_START
        Delimiter type for #getDelimiter(int).
        See Also:
        Constant Field Values
      • ALT_QUOTATION_END

        public static final int ALT_QUOTATION_END
        Delimiter type for #getDelimiter(int).
        See Also:
        Constant Field Values
      • DELIMITER_COUNT

        public static final int DELIMITER_COUNT
        Count of delimiter types for #getDelimiter(int).
        See Also:
        Constant Field Values
    • Method Detail

      • getInstance

        public static final LocaleData getInstance​(ULocale locale)
        Gets the LocaleData object associated with the ULocale specified in locale
        Parameters:
        locale - Locale with thich the locale data object is associated.
        Returns:
        A locale data object.
      • getOpenTypeData

        public static final LocaleData.OpenTypeData getOpenTypeData​(ULocale locale)
        Returns OpenTypeData object containing locale-dependent OpenType data like tags
        Parameters:
        locale - The locale for which the OpenType data is required
        Returns:
        OpenTypeData object containing OpenType data