Class LocaleData

java.lang.Object
com.adobe.agl.util.LocaleData

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

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Delimiter type for
    invalid reference
    #getDelimiter(int)
    .
    static final int
    Delimiter type for
    invalid reference
    #getDelimiter(int)
    .
    static final int
    Count of delimiter types for
    invalid reference
    #getDelimiter(int)
    .
    static final int
    EXType for
    invalid reference
    #getExemplarSet(int, int)
    .
    static final int
    Count of EXTypes for
    invalid reference
    #getExemplarSet(int, int)
    .
    static final int
    EXType for
    invalid reference
    #getExemplarSet(int, int)
    .
    static final int
    Delimiter type for
    invalid reference
    #getDelimiter(int)
    .
    static final int
    Delimiter type for
    invalid reference
    #getDelimiter(int)
    .
  • Method Summary

    Modifier and Type
    Method
    Description
    static final LocaleData
    Gets the LocaleData object associated with the ULocale specified in locale
    Returns OpenTypeData object containing locale-dependent OpenType data like tags

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ES_STANDARD

      public static final int ES_STANDARD
      EXType for
      invalid reference
      #getExemplarSet(int, int)
      .
      See Also:
    • ES_AUXILIARY

      public static final int ES_AUXILIARY
      EXType for
      invalid reference
      #getExemplarSet(int, int)
      .
      See Also:
    • ES_COUNT

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

      public static final int QUOTATION_START
      Delimiter type for
      invalid reference
      #getDelimiter(int)
      .
      See Also:
    • QUOTATION_END

      public static final int QUOTATION_END
      Delimiter type for
      invalid reference
      #getDelimiter(int)
      .
      See Also:
    • ALT_QUOTATION_START

      public static final int ALT_QUOTATION_START
      Delimiter type for
      invalid reference
      #getDelimiter(int)
      .
      See Also:
    • ALT_QUOTATION_END

      public static final int ALT_QUOTATION_END
      Delimiter type for
      invalid reference
      #getDelimiter(int)
      .
      See Also:
    • DELIMITER_COUNT

      public static final int DELIMITER_COUNT
      Count of delimiter types for
      invalid reference
      #getDelimiter(int)
      .
      See Also:
  • Method Details

    • 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