|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.classloader.AbstractResourceHandle
public abstract class AbstractResourceHandle
| Constructor Summary | |
|---|---|
AbstractResourceHandle()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes a connection to the resource indentified by this handle. |
java.util.jar.Attributes |
getAttributes()
Return the Attributes of the resource, or null if none. |
byte[] |
getBytes()
Returns this resource data as an array of bytes. |
java.security.cert.Certificate[] |
getCertificates()
Return the Certificates of the resource, or null if none. |
java.util.jar.Manifest |
getManifest()
Returns the Manifest of the JAR file from which this resource was loaded, or null if none. |
java.lang.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.axis2.classloader.ResourceHandle |
|---|
getCodeSourceUrl, getContentLength, getInputStream, getName, getUrl, isDirectory |
| Constructor Detail |
|---|
public AbstractResourceHandle()
| Method Detail |
|---|
public byte[] getBytes()
throws java.io.IOException
ResourceHandle
getBytes in interface ResourceHandlejava.io.IOException
public java.util.jar.Manifest getManifest()
throws java.io.IOException
ResourceHandle
getManifest in interface ResourceHandlejava.io.IOExceptionpublic java.security.cert.Certificate[] getCertificates()
ResourceHandle
getCertificates in interface ResourceHandle
public java.util.jar.Attributes getAttributes()
throws java.io.IOException
ResourceHandle
getAttributes in interface ResourceHandlejava.io.IOExceptionpublic void close()
ResourceHandle
close in interface ResourceHandlepublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||