public class TagUtil extends Object
| Constructor and Description |
|---|
TagUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTypeFromUriKey(String key)
This method extracts a 'type' from the key used
to identify the URI.
|
static String |
getUriPath(Map<String,Object> tags)
This method returns the URI value from a set of
supplied tags, by first identifying which tag
relates to a URI and then returning its path value.
|
static String |
getUriPath(String value)
This method extracts the 'path' component of a
URL.
|
static boolean |
isUriKey(String key)
This method determines if the supplied key relates to
a URI.
|
public static boolean isUriKey(String key)
key - The keypublic static String getTypeFromUriKey(String key)
key - The keypublic static String getUriPath(String value)
value - The URI valueCopyright © 2015–2016 Red Hat, Inc.. All rights reserved.