public class JarEntryDirectoryImpl extends JarEntryResourceImpl implements IJarFileDirectory
_entry, _jarFile, _name, _parent| Constructor and Description |
|---|
JarEntryDirectoryImpl(String name,
IJarFileDirectory parent,
JarFileDirectoryImpl jarFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCaches() |
IDirectory |
dir(String relativePath) |
IFile |
file(String path)
Constucts a file given the path.
|
JarEntryDirectoryImpl |
getOrCreateDirectory(String relativeName) |
JarEntryFileImpl |
getOrCreateFile(String relativeName) |
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, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, setEntry, setExists, toJavaFile, toString, toURIclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, delete, exists, getName, getParent, getPath, isChildOf, isDescendantOf, isInJar, isJavaFile, toJavaFile, toURIpublic JarEntryDirectoryImpl(String name, IJarFileDirectory parent, JarFileDirectoryImpl jarFile)
public JarEntryDirectoryImpl getOrCreateDirectory(String relativeName)
getOrCreateDirectory in interface IJarFileDirectorypublic JarEntryFileImpl getOrCreateFile(String relativeName)
getOrCreateFile in interface IJarFileDirectorypublic 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 void clearCaches()
clearCaches in interface IDirectorypublic boolean hasChildFile(String path)
IDirectoryhasChildFile in interface IDirectorypath - the path of the filepublic boolean isAdditional()
isAdditional in interface IDirectoryCopyright © 2015. All rights reserved.