|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPlatformObject
org.aspectj.org.eclipse.jdt.internal.core.NonJavaResource
public class NonJavaResource
| Field Summary | |
|---|---|
protected java.lang.Object |
parent
|
protected IResource |
resource
|
| Constructor Summary | |
|---|---|
NonJavaResource(java.lang.Object parent,
IResource resource)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
IJarEntryResource[] |
getChildren()
Returns the list of children of this jar entry resource. |
java.io.InputStream |
getContents()
|
protected java.lang.String |
getEntryName()
|
IPath |
getFullPath()
Returns the full, absolute path of this jar entry resource relative to the archive this jar entry belongs to. |
java.lang.String |
getName()
|
IPackageFragmentRoot |
getPackageFragmentRoot()
Returns the package fragment root this jar entry resource belongs to. |
java.lang.Object |
getParent()
Returns the parent of this jar entry resource. |
int |
hashCode()
|
boolean |
isFile()
Returns true if this jar entry represents a file. |
boolean |
isReadOnly()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Object parent
protected IResource resource
| Constructor Detail |
|---|
public NonJavaResource(java.lang.Object parent,
IResource resource)
| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
public IJarEntryResource[] getChildren()
IJarEntryResource
getChildren in interface IJarEntryResource
public java.io.InputStream getContents()
throws CoreException
CoreExceptionprotected java.lang.String getEntryName()
public IPath getFullPath()
IJarEntryResourceA 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.
getFullPath in interface IJarEntryResourcepublic java.lang.String getName()
public IPackageFragmentRoot getPackageFragmentRoot()
IJarEntryResource
getPackageFragmentRoot in interface IJarEntryResourcepublic java.lang.Object getParent()
IJarEntryResourceIJarEntryResource, an IPackageFragment
or an IPackageFragmentRoot.
getParent in interface IJarEntryResourcepublic int hashCode()
public boolean isFile()
IJarEntryResourcetrue if this jar entry represents a file.
Returns false if it is a directory.
isFile in interface IJarEntryResourcepublic boolean isReadOnly()
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||