org.aspectj.org.eclipse.jdt.internal.core
Class JarEntryDirectory

java.lang.Object
  extended by PlatformObject
      extended by org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
          extended by org.aspectj.org.eclipse.jdt.internal.core.JarEntryDirectory
All Implemented Interfaces:
IJarEntryResource

public class JarEntryDirectory
extends JarEntryResource


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
parent, simpleName
 
Constructor Summary
JarEntryDirectory(java.lang.String simpleName)
           
 
Method Summary
 JarEntryResource clone(java.lang.Object newParent)
           
 IJarEntryResource[] getChildren()
          Returns the list of children of this jar entry resource.
 java.io.InputStream getContents()
           
 boolean isFile()
          Returns true if this jar entry represents a file.
 void setChildren(IJarEntryResource[] children)
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.JarEntryResource
equals, getEntryName, getFullPath, getName, getPackageFragmentRoot, getParent, getZipFile, hashCode, isReadOnly, setParent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JarEntryDirectory

public JarEntryDirectory(java.lang.String simpleName)
Method Detail

clone

public JarEntryResource clone(java.lang.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 java.io.InputStream getContents()
                                throws CoreException
Throws:
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 java.lang.String toString()