public class JavaDirectoryImpl extends JavaResourceImpl implements IDirectory
_file| Constructor and Description |
|---|
JavaDirectoryImpl(File file,
IFileSystem.CachingMode cachingMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
IDirectory |
dir(String relativePath) |
boolean |
exists() |
IFile |
file(String path) |
boolean |
hasChildFile(String path) |
boolean |
isAdditional() |
List<? extends IDirectory> |
listDirs() |
List<? extends IFile> |
listFiles() |
boolean |
mkdir() |
String |
relativePath(IResource resource) |
void |
setCachingMode(IFileSystem.CachingMode cachingMode) |
create, delete, equals, getName, getParent, getPath, hashCode, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toString, toURIclone, finalize, getClass, notify, notifyAll, wait, wait, waitcreate, delete, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIpublic JavaDirectoryImpl(File file, IFileSystem.CachingMode cachingMode)
public void setCachingMode(IFileSystem.CachingMode cachingMode)
public void clearCaches()
clearCaches in interface IDirectorypublic IDirectory dir(String relativePath)
dir in interface IDirectorypublic IFile file(String path)
file in interface IDirectorypublic 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)
hasChildFile in interface IDirectorypublic boolean isAdditional()
isAdditional in interface IDirectoryCopyright © 2015. All rights reserved.