|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.kernel.classloader.AbstractResourceHandle
public abstract class AbstractResourceHandle
Constructor Summary | |
---|---|
AbstractResourceHandle()
|
Method Summary | |
---|---|
void |
close()
Closes a connection to the resource indentified by this handle. |
Attributes |
getAttributes()
Return the Attributes of the resource, or null if none. |
byte[] |
getBytes()
Returns this resource data as an array of bytes. |
Certificate[] |
getCertificates()
Return the Certificates of the resource, or null if none. |
Manifest |
getManifest()
Returns the Manifest of the JAR file from which this resource was loaded, or null if none. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.geronimo.kernel.classloader.ResourceHandle |
---|
getCodeSourceUrl, getContentLength, getInputStream, getName, getUrl, isDirectory |
Constructor Detail |
---|
public AbstractResourceHandle()
Method Detail |
---|
public byte[] getBytes() throws IOException
ResourceHandle
getBytes
in interface ResourceHandle
IOException
public Manifest getManifest() throws IOException
ResourceHandle
getManifest
in interface ResourceHandle
IOException
public Certificate[] getCertificates()
ResourceHandle
getCertificates
in interface ResourceHandle
public Attributes getAttributes() throws IOException
ResourceHandle
getAttributes
in interface ResourceHandle
IOException
public void close()
ResourceHandle
close
in interface ResourceHandle
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |