public class UniformPathCompatibilityUtil extends java.lang.Object
UniformPath
s. 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 UniformPath s. |
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
UniformPath s. |
static <T> PairList<java.lang.String,T> |
convertPairList(PairList<UniformPath,T> pairList)
Converts a pair list containing
UniformPath s 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)
UniformPath
s.public static java.util.List<java.lang.String> asUniformPathStrings(java.util.Collection<UniformPath> uniformPaths)
String
representations of the given UniformPath
s.public static <T> PairList<java.lang.String,T> convertPairList(PairList<UniformPath,T> pairList)
UniformPath
s back to a string-typed
uniform path pair list.