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