Modifier and Type | Method and Description |
---|---|
static Path |
resolve(Path path1,
Path path2)
Resolves paths, even if their file system are different.
|
public static Path resolve(Path path1, Path path2)
Path.resolve(java.nio.file.Path)
is used.
If path2
is absolute
, path2
is returned.
Else the resolved path gets calculated.path1
- the given pathpath2
- the path to resolve against the given pathCopyright © 2002–2015 SoftSmithy. All rights reserved.