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

public class JarEntryDirectory extends JarEntryResource
  • Constructor Details

    • JarEntryDirectory

      public JarEntryDirectory(String simpleName)
  • Method Details

    • clone

      public JarEntryResource clone(Object newParent)
      Specified by:
      clone in class JarEntryResource
    • getChildren

      public IJarEntryResource[] getChildren()
      Description copied from interface: IJarEntryResource
      Returns 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

      public InputStream getContents() throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException
    • isFile

      public boolean isFile()
      Description copied from interface: IJarEntryResource
      Returns true if this jar entry represents a file. Returns false if it is a directory.
      Returns:
      whether this jar entry is a file
    • setChildren

      public void setChildren(IJarEntryResource[] children)
    • toString

      public String toString()
      Overrides:
      toString in class Object