Modifier and Type | Method and Description |
---|---|
static String |
convertToString(Path path)
Converts a path to a string, making sure it uses UNIX-style separators.
|
static Path |
filePathDifference(Path baseDirectoryPath,
Path filePath)
Finds the difference between a path and a base.
|
public static Path filePathDifference(Path baseDirectoryPath, Path filePath) throws PathDifferenceException
baseDirectoryPath
- path to a base directory.filePath
- the path to resolve.PathDifferenceException
- if the canonical file cannot be found.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.