public class FilePathToUnixStyleConverter extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toStringUnixStyle(Path path)
Converts a path to a string using Unix-style separators (forward-slashes).
|
static String |
toStringUnixStyle(String path)
Converts a path to a string using Unix-style separators (forward-slashes).
|
public static String toStringUnixStyle(Path path)
path
- with either Windows-style (blackslashes) or Unix-style separators (forward
slashes).public static String toStringUnixStyle(String path)
path
- with either Windows-style (blackslashes) or Unix-style separators (forward
slashes).Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.