Class ICUResourceBundleImpl.ResourceContainer

Direct Known Subclasses:
ICUResourceBundleImpl.ResourceArray, ICUResourceBundleImpl.ResourceTable
Enclosing class:
ICUResourceBundleImpl

abstract static class ICUResourceBundleImpl.ResourceContainer extends ICUResourceBundleImpl
  • Field Details

  • Constructor Details

  • Method Details

    • getSize

      public int getSize()
      Description copied from class: UResourceBundle
      Returns the size of a resource. Size for scalar types is always 1, and for vector/table types is the number of child resources.
      Note: Integer array is treated as a scalar type. There are no APIs to access individual members of an integer array. It is always returned as a whole.
      Overrides:
      getSize in class UResourceBundle
      Returns:
      number of resources in a given resource.
    • getString

      public String getString(int index)
      Description copied from class: UResourceBundle
      Returns the string in a given resource at the specified index.
      Overrides:
      getString in class UResourceBundle
      Parameters:
      index - an index to the wanted string.
      Returns:
      a string which lives in the resource.
    • getContainerResource

      protected int getContainerResource(int index)
    • createBundleObject

      protected UResourceBundle createBundleObject(int index, String resKey, HashMap<String,String> aliasesVisited, UResourceBundle requested)