| Constructor and Description |
|---|
PathUtil() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsolutePath(Path path)
Returns the string representation of the specified path.
|
String |
getAbsolutePath(String path)
Returns the string representation of the specified path.
|
String |
toString(Path path)
Returns the string representation of the specified path.
|
public String toString(Path path) throws IOException
path - the path to get the absolute path forIOException - if the path could not be foundpublic String getAbsolutePath(String path)
path will be returned unchanged (but normalized using the UNIX path separator).path - the path to get the absolute path forpublic String getAbsolutePath(Path path)
path will be returned unchanged (but normalized using the UNIX path separator).path - the path to get the absolute path forCopyright © 2018. All rights reserved.