Class JarEntryResource
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
- All Implemented Interfaces:
IJarEntryResource
,org.eclipse.core.resources.IStorage
,org.eclipse.core.runtime.IAdaptable
- Direct Known Subclasses:
JarEntryDirectory
,JarEntryFile
public abstract class JarEntryResource
extends org.eclipse.core.runtime.PlatformObject
implements IJarEntryResource
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract JarEntryResource
boolean
protected String
org.eclipse.core.runtime.IPath
Returns 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 ZipFile
int
hashCode()
boolean
void
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.aspectj.org.eclipse.jdt.core.IJarEntryResource
getChildren, isFile
Methods inherited from interface org.eclipse.core.resources.IStorage
getContents
-
Field Details
-
parent
-
simpleName
-
-
Constructor Details
-
JarEntryResource
-
-
Method Details
-
clone
-
equals
-
getEntryName
-
getFullPath
public org.eclipse.core.runtime.IPath getFullPath()Description copied from interface:IJarEntryResource
Returns the full, absolute path of this jar entry resource relative to the archive this jar entry belongs to.A jar entry resource's full path indicates the route from the root of the archive to the jar entry resource. Within an archive, there is exactly one such path for any given jar entry resource.
The returned path is absolute (i.e. it starts with a separator) and it never has a trailing separator.
- Specified by:
getFullPath
in interfaceIJarEntryResource
- Specified by:
getFullPath
in interfaceorg.eclipse.core.resources.IStorage
- Returns:
- the absolute path of this jar entry resource
-
getName
- Specified by:
getName
in interfaceorg.eclipse.core.resources.IStorage
-
getParent
Description copied from interface:IJarEntryResource
Returns the parent of this jar entry resource. This is either anIJarEntryResource
, anIPackageFragment
or anIPackageFragmentRoot
.- Specified by:
getParent
in interfaceIJarEntryResource
- Returns:
- the parent of this jar entry resource
-
getPackageFragmentRoot
Description copied from interface:IJarEntryResource
Returns the package fragment root this jar entry resource belongs to.- Specified by:
getPackageFragmentRoot
in interfaceIJarEntryResource
- Returns:
- the package fragment root this jar entry resource belongs to.
-
getZipFile
- Throws:
org.eclipse.core.runtime.CoreException
-
hashCode
public int hashCode() -
isReadOnly
public boolean isReadOnly()- Specified by:
isReadOnly
in interfaceorg.eclipse.core.resources.IStorage
-
setParent
-