|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.naftulin.classpathexplorer.resourceinfo.impl.ResourceInfo
Given a class or an object computes which archive it was loaded from.
Field Summary | |
static ResourceInfo |
NOT_FOUND_RESOURCE_INFO
|
Method Summary | |
boolean |
equals(java.lang.Object o)
|
java.io.File |
getClassArchiveSource()
Returns the archive the resource was read from. |
static ResourceInfo |
getResourceInfo(java.lang.Class clazz)
Given a class computes which archive it was loaded from and provides it's package information. |
static ResourceInfo |
getResourceInfoForObject(java.lang.Object obj)
Given an object cimputes which archive it was loaded from and provides it's package information. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ResourceInfo NOT_FOUND_RESOURCE_INFO
Method Detail |
public java.io.File getClassArchiveSource()
public static ResourceInfo getResourceInfo(java.lang.Class clazz)
clazz
- classpublic static ResourceInfo getResourceInfoForObject(java.lang.Object obj)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |