Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.javatools.resourcebundle
Interface SearchSupport

All Known Implementing Classes:
ResourceBundleAdapter, ResourceBundleWrapperRT

public interface SearchSupport

Method Summary
 java.util.Set<java.lang.String> findKeysByMetaData(java.util.Map<java.lang.String,java.lang.String> metadata, boolean ignoreCase)
          Gets a Set of keys which exactly match the specified metadata.
 java.util.Set<java.lang.String> findKeysByText(java.lang.String text, boolean ignoreCase)
          Finds the Set of keys containing an exact match for text
 java.util.Set<java.lang.String> findKeysLikeKey(java.lang.String key, boolean ignoreCase)
          Finds the Set of keys identifying entries whose key contains the substring key.
 java.util.Set<java.lang.String> findKeysLikeMetaData(java.util.Map<java.lang.String,java.lang.String> metadata, boolean ignoreCase)
          Gets a Set of keys which is a contains match for the specified metadata.
 java.util.Set<java.lang.String> findKeysLikeText(java.lang.String text, boolean ignoreCase)
          Finds the Set of keys identifying entries whose translated text contains the substring text.

 

Method Detail

findKeysLikeKey

java.util.Set<java.lang.String> findKeysLikeKey(java.lang.String key,
                                                boolean ignoreCase)
Finds the Set of keys identifying entries whose key contains the substring key. No wildcards are expected or allowed.
Parameters:
key - The substring key to match
ignoreCase - True to request case insensitivity
Returns:
The Set of keys containing a match. If no keys match, then an empty Set is returned.
Throws:
java.lang.NullPointerException - If key is null.

findKeysByText

java.util.Set<java.lang.String> findKeysByText(java.lang.String text,
                                               boolean ignoreCase)
Finds the Set of keys containing an exact match for text
Parameters:
text - The exact text to match
ignoreCase - True to request case insensitivity
Returns:
The Set of keys containing a match. If no keys match, then an empty Set is returned
Throws:
java.lang.NullPointerException - If text is null.

findKeysLikeText

java.util.Set<java.lang.String> findKeysLikeText(java.lang.String text,
                                                 boolean ignoreCase)
Finds the Set of keys identifying entries whose translated text contains the substring text. No wildcards are expected or allowed.
Parameters:
text - The substring text to match
ignoreCase - True to request case insensitivity
Returns:
The Set of keys containing a match. If no keys match, then an empty Set is returned.
Throws:
java.lang.NullPointerException - If text is null.

findKeysByMetaData

java.util.Set<java.lang.String> findKeysByMetaData(java.util.Map<java.lang.String,java.lang.String> metadata,
                                                   boolean ignoreCase)
Gets a Set of keys which exactly match the specified metadata. Metadata Search Rules
Key Value Result
Key Value Result
Parameters:
metadata - The metadata search criteria.
ignoreCase - True to request case insensitivity
Returns:
The Set of keys containing a match. If no keys match, then an empty Set is returned.

findKeysLikeMetaData

java.util.Set<java.lang.String> findKeysLikeMetaData(java.util.Map<java.lang.String,java.lang.String> metadata,
                                                     boolean ignoreCase)
Gets a Set of keys which is a contains match for the specified metadata. Metadata Search Rules
Key Value Result
Key Value Result
Parameters:
metadata - The metadata search criteria.
ignoreCase - True to request case insensitivity
Returns:
The Set of keys containing a match. If no keys match, then an empty Set is returned.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.