public class QualifiedPathUtils
extends java.lang.Object
QualifiedPath
s. Primarily it provides conversion to and from other
path types, like TagPath
.Constructor and Description |
---|
QualifiedPathUtils() |
Modifier and Type | Method and Description |
---|---|
static QualifiedPath |
fromHistoricalTagPath(TagPath path) |
static QualifiedPath |
fromTagPath(TagPath path) |
static QualifiedPath |
parsePossibleTagpath(java.lang.String value)
This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.
|
static QualifiedPath |
toPathFromHistoricalString(java.lang.String histPath)
This is a transitional helper function which is the opposite of toStringFromHistoricalPath().
|
static QualifiedPath |
toPathFromHistoricalString(java.lang.String histPath,
java.lang.String defaultHistProvider,
java.lang.String defaultSystem,
java.lang.String defaultProv) |
static java.lang.String |
toStringFromHistoricalPath(QualifiedPath path)
This is a helper function, as we transition to qualifiedpaths, to convert from a path indicating a historical
path to a string, for display and edit.
|
static TagPath |
toTagPath(QualifiedPath path)
Attempts to create a tag path out of the provided qualified path.
|
public static QualifiedPath fromTagPath(TagPath path)
public static QualifiedPath fromHistoricalTagPath(TagPath path)
public static TagPath toTagPath(QualifiedPath path)
path
- public static QualifiedPath parsePossibleTagpath(java.lang.String value)
value
- public static java.lang.String toStringFromHistoricalPath(QualifiedPath path)
public static QualifiedPath toPathFromHistoricalString(java.lang.String histPath)
public static QualifiedPath toPathFromHistoricalString(java.lang.String histPath, java.lang.String defaultHistProvider, java.lang.String defaultSystem, java.lang.String defaultProv)