Klasse JarEntryResource

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
Alle implementierten Schnittstellen:
IJarEntryResource, org.eclipse.core.resources.IStorage, org.eclipse.core.runtime.IAdaptable
Bekannte direkte Unterklassen:
JarEntryDirectory, JarEntryFile

public abstract class JarEntryResource extends org.eclipse.core.runtime.PlatformObject implements IJarEntryResource
  • Felddetails

    • parent

      protected Object parent
    • simpleName

      protected String simpleName
  • Konstruktordetails

    • JarEntryResource

      public JarEntryResource(String simpleName)
  • Methodendetails

    • clone

      public abstract JarEntryResource clone(Object newParent)
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • getEntryName

      protected String getEntryName()
    • getFullPath

      public org.eclipse.core.runtime.IPath getFullPath()
      Beschreibung aus Schnittstelle kopiert: 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.

      Angegeben von:
      getFullPath in Schnittstelle IJarEntryResource
      Angegeben von:
      getFullPath in Schnittstelle org.eclipse.core.resources.IStorage
      Gibt zurück:
      the absolute path of this jar entry resource
    • getName

      public String getName()
      Angegeben von:
      getName in Schnittstelle org.eclipse.core.resources.IStorage
    • getParent

      public Object getParent()
      Beschreibung aus Schnittstelle kopiert: IJarEntryResource
      Returns the parent of this jar entry resource. This is either an IJarEntryResource, an IPackageFragment or an IPackageFragmentRoot.
      Angegeben von:
      getParent in Schnittstelle IJarEntryResource
      Gibt zurück:
      the parent of this jar entry resource
    • getPackageFragmentRoot

      public IPackageFragmentRoot getPackageFragmentRoot()
      Beschreibung aus Schnittstelle kopiert: IJarEntryResource
      Returns the package fragment root this jar entry resource belongs to.
      Angegeben von:
      getPackageFragmentRoot in Schnittstelle IJarEntryResource
      Gibt zurück:
      the package fragment root this jar entry resource belongs to.
    • getZipFile

      protected ZipFile getZipFile() throws org.eclipse.core.runtime.CoreException
      Löst aus:
      org.eclipse.core.runtime.CoreException
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • isReadOnly

      public boolean isReadOnly()
      Angegeben von:
      isReadOnly in Schnittstelle org.eclipse.core.resources.IStorage
    • setParent

      public void setParent(Object parent)