public class ShellPaths extends Object
| Constructor and Description |
|---|
ShellPaths()
|
public static Pathresolve(String pathSpec)
Path instance. A
Path is initially created using
Paths.get(). If that path is absolute it is returned. Otherwise, the behavior is as follows. If the first component of the path is '~', then the path is resolved against the user's home directory. Otherwise the path is resolved against the current working directory of the executing process.
pathSpec - an absolute or relative path specification.
Path.