public class PhysicalDirectoryImpl extends PhysicalResourceImpl implements IDirectory
_backingFileSystem, _path| Constructor and Description |
|---|
PhysicalDirectoryImpl(ResourcePath path,
IPhysicalFileSystem backingFileSystem) |
| 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, equals, exists, getIFileMetadata, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toString, toURIclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, delete, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIpublic PhysicalDirectoryImpl(ResourcePath path, IPhysicalFileSystem backingFileSystem)
public void clearCaches()
clearCaches in interface IDirectorypublic IDirectory dir(String relativePath)
dir in interface IDirectorypublic IFile file(String path)
IDirectoryfile in interface IDirectorypath - the path of the filepublic boolean mkdir()
throws IOException
mkdir in interface IDirectoryIOExceptionpublic List<? extends IDirectory> listDirs()
listDirs in interface IDirectorypublic List<? extends IFile> listFiles()
listFiles in interface IDirectorypublic String relativePath(IResource resource)
relativePath in interface IDirectorypublic boolean hasChildFile(String path)
IDirectoryhasChildFile in interface IDirectorypath - the path of the filepublic boolean isAdditional()
isAdditional in interface IDirectoryCopyright © 2022. All rights reserved.