@Beta public static class ClassPath.ResourceInfo extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getResourceName()
Returns the fully qualified name of the resource.
|
int |
hashCode() |
java.lang.String |
toString() |
java.net.URL |
url()
Returns the url identifying the resource.
|
public final java.net.URL url() throws java.util.NoSuchElementException
See ClassLoader.getResource(java.lang.String)
java.util.NoSuchElementException
- if the resource cannot be loaded through the class loader,
despite physically existing in the class path.public final java.lang.String getResourceName()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object