Class JarEntryDirectory
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
org.aspectj.org.eclipse.jdt.internal.core.JarEntryDirectory
- All Implemented Interfaces:
IJarEntryResource, org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable
-
Field Summary
Fields inherited from class JarEntryResource
parent, simpleName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of children of this jar entry resource.booleanisFile()Returnstrueif this jar entry represents a file.voidsetChildren(IJarEntryResource[] children) toString()Methods inherited from class JarEntryResource
equals, getEntryName, getFullPath, getName, getPackageFragmentRoot, getParent, getZipFile, hashCode, isReadOnly, setParentModifier and TypeMethodDescriptionbooleanprotected Stringorg.eclipse.core.runtime.IPathReturns the full, absolute path of this jar entry resource relative to the archive this jar entry belongs to.getName()Returns the package fragment root this jar entry resource belongs to.Returns the parent of this jar entry resource.protected ZipFileinthashCode()booleanvoidMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
JarEntryDirectory
-
-
Method Details
-
clone
- Specified by:
clonein classJarEntryResource
-
getChildren
Description copied from interface:IJarEntryResourceReturns the list of children of this jar entry resource. Returns an empty array if this jar entry is a file, or if this jar entry is a directory and it has no children.- Returns:
- the children of this jar entry resource
-
getContents
- Throws:
org.eclipse.core.runtime.CoreException
-
isFile
public boolean isFile()Description copied from interface:IJarEntryResourceReturnstrueif this jar entry represents a file. Returnsfalseif it is a directory.- Returns:
- whether this jar entry is a file
-
setChildren
-
toString
-