public interface DirectoryPath extends Path
This interface represents a path which is a directory.
| Modifier and Type | Method and Description |
|---|---|
Path |
getChild(String path)
Gets the
Path corresponding to the given String which should be interpreted relatively to
this directory. |
String[] |
list()
Lists all the children path names of this directory.
|
getAbsolutePath, getLastUpdate, getName, getParentPath getChild(String path) throws IOException
Gets the Path corresponding to the given String which should be interpreted relatively to
this directory.
path - the path representing the child relatively to this directoryIOException - if any I/O error occursString[] list() throws IOException
Lists all the children path names of this directory.
IOException - if any I/O error occursCopyright © 2012-2015. All Rights Reserved.