public final class Utilities extends Object
Utilities class.
Modifier and Type | Field and Description |
---|---|
static char |
TYPE_NAME_SEPARATOR
Used in creating a unique bundle identifier for a given provider type(e.g.
|
Modifier and Type | Method and Description |
---|---|
static String |
getProviderName(String uniqueIdentifierOfProvider)
Reverse logic of method getUniqeIdentiferOfProvider.
|
static String |
getUniqeIdentiferOfProvider(String type, String name)
Given name and type of a provider, returns an identifier for the purpose of having unique bundle location.
|
public static final char TYPE_NAME_SEPARATOR
public static String getUniqeIdentiferOfProvider(String type, String name)
type
- - Provider typename
- - Name of provider instance.public static String getProviderName(String uniqueIdentifierOfProvider)
uniqueIdentifierOfProvider
- - Bundle identifier generated by method getUniqeIdentiferOfProvider.Copyright © 2015 Oracle and/or its affiliates. All rights reserved.