Klasse NonJavaResource
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.aspectj.org.eclipse.jdt.internal.core.NonJavaResource
- Alle implementierten Schnittstellen:
IJarEntryResource
,org.eclipse.core.resources.IStorage
,org.eclipse.core.runtime.IAdaptable
public class NonJavaResource
extends org.eclipse.core.runtime.PlatformObject
implements IJarEntryResource
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungNonJavaResource
(Object parent, org.eclipse.core.resources.IResource resource) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns the list of children of this jar entry resource.protected String
org.eclipse.core.runtime.IPath
Returns the full, absolute path of this jar entry resource relative to the archive this jar entry belongs to.getName()
Returns the package fragment root this jar entry resource belongs to.Returns the parent of this jar entry resource.int
hashCode()
boolean
isFile()
Returnstrue
if this jar entry represents a file.boolean
toString()
Von Klasse geerbte Methoden org.eclipse.core.runtime.PlatformObject
getAdapter
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.eclipse.core.runtime.IAdaptable
getAdapter
-
Felddetails
-
parent
-
resource
protected org.eclipse.core.resources.IResource resource
-
-
Konstruktordetails
-
NonJavaResource
-
-
Methodendetails
-
equals
-
getChildren
Beschreibung aus Schnittstelle kopiert: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.- Angegeben von:
getChildren
in SchnittstelleIJarEntryResource
- Gibt zurück:
- the children of this jar entry resource
-
getContents
- Angegeben von:
getContents
in Schnittstelleorg.eclipse.core.resources.IStorage
- Löst aus:
org.eclipse.core.runtime.CoreException
-
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 SchnittstelleIJarEntryResource
- Angegeben von:
getFullPath
in Schnittstelleorg.eclipse.core.resources.IStorage
- Gibt zurück:
- the absolute path of this jar entry resource
-
getName
- Angegeben von:
getName
in Schnittstelleorg.eclipse.core.resources.IStorage
-
getPackageFragmentRoot
Beschreibung aus Schnittstelle kopiert:IJarEntryResource
Returns the package fragment root this jar entry resource belongs to.- Angegeben von:
getPackageFragmentRoot
in SchnittstelleIJarEntryResource
- Gibt zurück:
- the package fragment root this jar entry resource belongs to.
-
getParent
Beschreibung aus Schnittstelle kopiert:IJarEntryResource
Returns the parent of this jar entry resource. This is either anIJarEntryResource
, anIPackageFragment
or anIPackageFragmentRoot
.- Angegeben von:
getParent
in SchnittstelleIJarEntryResource
- Gibt zurück:
- the parent of this jar entry resource
-
hashCode
public int hashCode() -
isFile
public boolean isFile()Beschreibung aus Schnittstelle kopiert:IJarEntryResource
Returnstrue
if this jar entry represents a file. Returnsfalse
if it is a directory.- Angegeben von:
isFile
in SchnittstelleIJarEntryResource
- Gibt zurück:
- whether this jar entry is a file
-
isReadOnly
public boolean isReadOnly()- Angegeben von:
isReadOnly
in Schnittstelleorg.eclipse.core.resources.IStorage
-
toString
-