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, getFileSystem, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURI
IDirectory dir(String relativePath)
IFile file(String path)
path
- the path of the fileboolean mkdir() throws IOException
IOException
List<? extends IDirectory> listDirs()
void clearCaches()
boolean hasChildFile(String path)
path
- the path of the fileboolean isAdditional()
Copyright © 2024. All rights reserved.