- composeAbsoluteContext
Composes an absolute context from a given base and actual context relative to
the base, returning th
- getParent
Obtains the parent of this Path, if exists, else null. For instance if the Path
is "/my/path", the p
- optionallyAppendSlash
Adds, if not already present, the absolute slash following the specified path,
and returns the adjus
- optionallyPrependSlash
Adds, if not already present, the absolute slash preceding the specified path,
and returns the adjus
- optionallyRemoveFollowingSlash
Removes, if present, the absolute slash following the specified path, and
returns the adjusted resul
- optionallyRemovePrecedingSlash
Removes, if present, the absolute slash preceding the specified path, and
returns the adjusted resul
- adjustToRelativeDirectoryContext
Adjusts the specified path to relative form: 1) Removes, if present, a preceding
slash 2) Adds, if n
- assertSpecified
Ensures the path is specified
- isFirstCharSlash
Returns whether or not the first character in the specified String is a slash
- isLastCharSlash
Returns whether or not the last character in the specified String is a slash