public class MapPathUtils
extends java.lang.Object
MapPath
related functions.Modifier and Type | Method and Description |
---|---|
static AbsoluteMapPath |
append(AbsoluteMapPath baseMapPath,
MapPath mapPath)
Appends a map path to another map path.
|
static RelativeMapPath |
append(RelativeMapPath baseMapPath,
RelativeMapPath mapPath)
Appends a map path to another map path.
|
static AbsoluteMapPath |
newAbsoluteMapPath(java.lang.String string)
Creates an
AbsoluteMapPath instance from string representation. |
static MapPath |
newMapPath(java.lang.String string)
Creates a
MapPath instance from string representation. |
static RelativeMapPath |
newRelativeMapPath(java.lang.String string)
Creates a
RelativeMapPath instance from string representation. |
@NotNull public static MapPath newMapPath(@NotNull java.lang.String string)
MapPath
instance from string representation. Ignores
excess "/" characters.string
- the string representation@NotNull public static AbsoluteMapPath newAbsoluteMapPath(@NotNull java.lang.String string)
AbsoluteMapPath
instance from string representation.
Ignores excess "/" characters.string
- the string representation@NotNull public static RelativeMapPath newRelativeMapPath(@NotNull java.lang.String string)
RelativeMapPath
instance from string representation.
Ignores excess "/" characters.string
- the string representation@NotNull public static AbsoluteMapPath append(@NotNull AbsoluteMapPath baseMapPath, @NotNull MapPath mapPath)
baseMapPath
- the base map path to append tomapPath
- the map path to append@NotNull public static RelativeMapPath append(@NotNull RelativeMapPath baseMapPath, @NotNull RelativeMapPath mapPath)
baseMapPath
- the base map path to append tomapPath
- the map path to append