public class ResourceInformation
extends java.lang.Object
| Constructor and Description |
|---|
ResourceInformation(ClassContainer container,
java.lang.String name) |
ResourceInformation(ClassContainer container,
java.lang.String name,
boolean isServiceProviderDeclaration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ClassContainer |
getContainer()
The container this resource belongs to.
|
java.lang.String |
getName()
Returns the relative name of the resource inside
its container.
|
protected java.lang.String |
getQualifiedName() |
int |
hashCode() |
boolean |
isServiceProviderDeclaration()
Returns true if this resource is a file that declares
service provider implementations for the Java ServiceLoader
mechanism.
|
java.io.InputStream |
open() |
java.lang.String |
toString() |
public ResourceInformation(ClassContainer container, java.lang.String name)
public ResourceInformation(ClassContainer container, java.lang.String name, boolean isServiceProviderDeclaration)
public ClassContainer getContainer()
public java.lang.String getName()
public boolean isServiceProviderDeclaration()
public java.io.InputStream open()
throws java.io.IOException
java.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectprotected java.lang.String getQualifiedName()