Works similarly to the unix command basename, by optionally removing an extension, and all leading path elements.
Works similarly to the unix command basename, by optionally removing an extension, and all leading path elements.
Returns the extension of the filename (including the period) within the path, or None if there is no period in the name.
Resolves a path from a String, and then makes the path absolute.
Resolves a path from a String, and then makes the path absolute. Prefer this to PathUtil.pathTo elsewhere.
Remove the extension from a filename if present (the last .
Remove the extension from a filename if present (the last . to the end of the string).
Remove the extension from a filename if present (the last .
Remove the extension from a filename if present (the last . to the end of the string).
Replaces the extension on an existing path.
Replaces a set of illegal characters within a String that is to be used as a filename.
Replaces a set of illegal characters within a String that is to be used as a filename.
the string that is to be used as a filename
the set of characters to be replaced if found, defaults to illegalCharacters
an optional replacement character, defaulting to '_'; if None characters are just removed
the filename without illegal characters
Provides utility methods for creating and manipulating Path objects and path-like Strings.