This class contains utility methods which access Framework functions that may be useful to bundles.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | FrameworkUtil.
This class contains a method to match a distinguished name (DN) chain against and DN chain pattern. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < The type of the key. K, The type of the value. V> Dictionary | Returns: A Dictionary object which wraps the specified map. If the specified map can be cast to a Dictionary, then the specified map is returned.The map to wrap. map)Return a Dictionary wrapper around a Map. |
| public static < The type of the key. K, The type of the value. V> Map | Returns: A Map object which wraps the specified dictionary. If the specified dictionary can be cast to a Map, then the specified dictionary is returned.The dictionary to wrap. dictionary)Return a Map wrapper around a Dictionary. |
| public static Filter | Returns: AFilter object encapsulating the filter string.The filter string. filter)Creates a |
| public static Optional | Returns: An Optional containingBundle for the specified bundle
class loader or an empty Optional if the specified class loader
is not associated with a specific bundle.A bundle class loader. bundleClassLoader)Return a |
| public static Bundle | |
| public static boolean | Returns: true If the pattern matches the DN chain; otherwise
false is returned.The pattern against which to match the DN chain. matchPattern, List<String> The DN chain to match against the specified pattern. Each
element of the chain must be of type dnChain)String and use the
format defined in RFC 2253.Match a Distinguished Name (DN) chain against a pattern. |