public interface IDirectory extends IResource
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
IDirectory |
dir(String relativePath) |
IFile |
file(String path)
Constucts a file given the path.
|
boolean |
hasChildFile(String path)
Returns true if the given path represents a child of this directory that exists.
|
boolean |
isAdditional() |
List<? extends IDirectory> |
listDirs() |
List<? extends IFile> |
listFiles() |
boolean |
mkdir() |
String |
relativePath(IResource resource) |
create, delete, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIIDirectory dir(String relativePath)
IFile file(String path)
path - the path of the fileboolean mkdir()
throws IOException
IOExceptionList<? extends IDirectory> listDirs()
void clearCaches()
boolean hasChildFile(String path)
path - the path of the fileboolean isAdditional()
Copyright © 2016. All rights reserved.