|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.jdt.internal.core.JarEntryResource
public abstract class JarEntryResource
| Constructor Summary | |
|---|---|
JarEntryResource(java.lang.String simpleName)
|
|
| Method Summary | |
|---|---|
abstract JarEntryResource |
clone(java.lang.Object newParent)
|
boolean |
equals(java.lang.Object obj)
|
org.eclipse.core.runtime.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()
Returns the name of this storage. |
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 |
isReadOnly()
Returns whether this storage is read-only. |
void |
setParent(java.lang.Object parent)
|
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jdt.core.IJarEntryResource |
|---|
getChildren, isFile |
| Methods inherited from interface org.eclipse.core.resources.IStorage |
|---|
getContents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public JarEntryResource(java.lang.String simpleName)
| Method Detail |
|---|
public abstract JarEntryResource clone(java.lang.Object newParent)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic org.eclipse.core.runtime.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 IStoragegetFullPath in interface IJarEntryResourcepublic java.lang.String getName()
IStorage
getName in interface IStoragenull if this storage has no nameIStorage.getFullPath()public java.lang.Object getParent()
IJarEntryResourceIJarEntryResource, an IPackageFragment
or an IPackageFragmentRoot.
getParent in interface IJarEntryResourcepublic IPackageFragmentRoot getPackageFragmentRoot()
IJarEntryResource
getPackageFragmentRoot in interface IJarEntryResourcepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isReadOnly()
IStorage
isReadOnly in interface IStoragetrue if this storage is read-onlypublic void setParent(java.lang.Object parent)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||