Class ICUResourceBundleImpl.ResourceTable

    • Method Detail

      • getKey

        protected java.lang.String getKey​(int index)
      • handleKeySet

        protected java.util.Set<java.lang.String> handleKeySet()
        Description copied from class: UResourceBundle
        Returns a Set of the keys contained only in this ResourceBundle. This does not include further keys from parent bundles.
        Overrides:
        handleKeySet in class UResourceBundle
        Returns:
        a Set of the keys contained only in this ResourceBundle, which is empty if this is not a bundle or a table resource
      • handleGet

        protected UResourceBundle handleGet​(java.lang.String resKey,
                                            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:
        resKey - 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
      • findString

        java.lang.String findString​(java.lang.String key)
        Returns a String if found, or null if not found or if the key item is not a string.