Class FilePathToUnixStyleConverter
Object
FilePathToUnixStyleConverter
Conversion to Unix-style separators.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
toStringUnixStyle
(String path) Converts a path to a string using Unix-style separators (forward-slashes).static String
toStringUnixStyle
(Path path) Converts a path to a string using Unix-style separators (forward-slashes).
-
Method Details
-
toStringUnixStyle
Converts a path to a string using Unix-style separators (forward-slashes).- Parameters:
path
- with either Windows-style (blackslashes) or Unix-style separators (forward slashes).- Returns:
- identical path but with Unix-style separators.
-
toStringUnixStyle
Converts a path to a string using Unix-style separators (forward-slashes).- Parameters:
path
- with either Windows-style (blackslashes) or Unix-style separators (forward slashes).- Returns:
- identical path but with Unix-style separators.
-