public class UniformPathCompatibilityUtil extends java.lang.Object
UniformPaths. Can be removed when/if string-typed uniform
paths are no longer relevant.| Constructor and Description |
|---|
UniformPathCompatibilityUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<java.lang.String> |
asUniformPathStrings(java.util.Collection<UniformPath> uniformPaths)
Returns the
String representations of the given UniformPaths. |
static UniformPath |
convert(java.lang.String uniformPath)
Converts the given string to a
UniformPath. |
static UniformPath |
convert(UniformPath.EType type,
java.lang.String uniformPath)
Converts the given string and type to a
UniformPath. |
static java.util.List<UniformPath> |
convertCollection(java.util.Collection<java.lang.String> uniformPaths)
Converts the given strings to
UniformPaths. |
static <T> PairList<java.lang.String,T> |
convertPairList(PairList<UniformPath,T> pairList)
Converts a pair list containing
UniformPaths back to a string-typed
uniform path pair list. |
static RelativeUniformPath |
convertRelative(java.lang.String uniformPath)
Converts the given string to a
RelativeUniformPath. |
public UniformPathCompatibilityUtil()
public static UniformPath convert(java.lang.String uniformPath)
UniformPath.public static UniformPath convert(UniformPath.EType type, java.lang.String uniformPath)
UniformPath.public static RelativeUniformPath convertRelative(java.lang.String uniformPath)
RelativeUniformPath.public static java.util.List<UniformPath> convertCollection(java.util.Collection<java.lang.String> uniformPaths)
UniformPaths.public static java.util.List<java.lang.String> asUniformPathStrings(java.util.Collection<UniformPath> uniformPaths)
String representations of the given UniformPaths.public static <T> PairList<java.lang.String,T> convertPairList(PairList<UniformPath,T> pairList)
UniformPaths back to a string-typed
uniform path pair list.