public interface Path
A path is an element which is could be linked to another path as parent to represent a hierarchy.
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath()
Returns the absolute path of this path by separating each parent path with a standard
separator . |
long |
getLastUpdate()
Gets the last update date of this path.
|
String |
getName()
Returns the path name.
|
DirectoryPath |
getParent()
Returns the parent path.
|
String getName()
Returns the path name.
DirectoryPath getParent()
Returns the parent path. Should be null
if this path is considered as a root.
String getAbsolutePath()
Returns the absolute path of this path by separating each parent path with a standard
separator
.
long getLastUpdate() throws IOException
Gets the last update date of this path.
IOException
- if an I/O error occurs while accessing path dataCopyright © 2012-2015. All Rights Reserved.