Class ICUResourceBundleImpl.ResourceArray

    • Constructor Detail

    • Method Detail

      • handleGetStringArray

        protected java.lang.String[] handleGetStringArray()
        Description copied from class: UResourceBundle
        Actual worker method for fetching the array of strings in a resource. Sub classes must override this method if they support arrays of strings.
        Overrides:
        handleGetStringArray in class UResourceBundle
        Returns:
        String[] An array of strings containing strings
      • handleGet

        protected UResourceBundle handleGet​(java.lang.String indexStr,
                                            java.util.HashMap<java.lang.String,​java.lang.String> aliasesVisited,
                                            UResourceBundle requested)
        Description copied from class: UResourceBundle
        Actual worker method for fetching a resource based on the given key. Sub classes must override this method if they support resources with keys.
        Overrides:
        handleGet in class UResourceBundle
        Parameters:
        indexStr - the key string of the resource to be fetched
        aliasesVisited - hashtable object to hold references of resources already seen
        requested - the original resource bundle object on which the get method was invoked. The requested bundle and the bundle on which this method is invoked are the same, except in the cases where aliases are involved.
        Returns:
        UResourceBundle a resource associated with the key
      • handleGet

        protected UResourceBundle handleGet​(int index,
                                            java.util.HashMap<java.lang.String,​java.lang.String> aliasesVisited,
                                            UResourceBundle requested)
        Description copied from class: UResourceBundle
        Actual worker method for fetching a resource based on the given index. Sub classes must override this method if they support arrays of resources.
        Overrides:
        handleGet in class UResourceBundle
        Parameters:
        index - the index of the resource to be fetched
        aliasesVisited - hashtable object to hold references of resources already seen
        requested - the original resource bundle object on which the get method was invoked. The requested bundle and the bundle on which this method is invoked are the same, except in the cases where aliases are involved.
        Returns:
        UResourceBundle a resource associated with the index