public class PCAliasHelper extends Object
Constructor and Description |
---|
PCAliasHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
createAlias(String key,
URI resource)
Static helper method to create a new alias for a MWS thing
|
static String[] |
listAliases(URI resource)
Retrieve an array of alias identifier strings for a specified MWS thing
|
static AliasValue |
lookupalias(String key)
Retrieve an alias for a given alias identifier
|
static void |
removeAlias(String key)
Remove an alias from the MWS system
|
public static void createAlias(String key, URI resource)
key
- the alias identifier to createresource
- the MWS thing to create an alias forpublic static AliasValue lookupalias(String key)
key
- the alias identifier to lookupAliasValue
instance containing info about the retrieved alias, may be null if the alias identifier does not existpublic static void removeAlias(String key)
key
- the alias identifier to remove