|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.classloader.AbstractResourceHandle
org.apache.axis2.classloader.JarResourceHandle
public class JarResourceHandle
| Constructor Summary | |
|---|---|
JarResourceHandle(java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry,
java.net.URL codeSource)
|
|
| Method Summary | |
|---|---|
java.util.jar.Attributes |
getAttributes()
Return the Attributes of the resource, or null if none. |
java.security.cert.Certificate[] |
getCertificates()
Return the Certificates of the resource, or null if none. |
java.net.URL |
getCodeSourceUrl()
Returns the CodeSource URL for the class or resource. |
int |
getContentLength()
Returns the length of this resource data, or -1 if unknown. |
java.io.InputStream |
getInputStream()
Returns and InputStream for reading this resource data. |
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 |
getName()
Return the name of the resource. |
java.net.URL |
getUrl()
Returns the URL of the resource. |
boolean |
isDirectory()
Does this resource refer to a directory. |
| Methods inherited from class org.apache.axis2.classloader.AbstractResourceHandle |
|---|
close, getBytes, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JarResourceHandle(java.util.jar.JarFile jarFile,
java.util.jar.JarEntry jarEntry,
java.net.URL codeSource)
throws java.net.MalformedURLException
java.net.MalformedURLException| Method Detail |
|---|
public java.lang.String getName()
ResourceHandle
public java.net.URL getUrl()
ResourceHandle
public java.net.URL getCodeSourceUrl()
ResourceHandle
public boolean isDirectory()
ResourceHandle
public java.io.InputStream getInputStream()
throws java.io.IOException
ResourceHandle
java.io.IOExceptionpublic int getContentLength()
ResourceHandle
public java.util.jar.Manifest getManifest()
throws java.io.IOException
ResourceHandle
getManifest in interface ResourceHandlegetManifest in class AbstractResourceHandlejava.io.IOException
public java.util.jar.Attributes getAttributes()
throws java.io.IOException
ResourceHandle
getAttributes in interface ResourceHandlegetAttributes in class AbstractResourceHandlejava.io.IOExceptionpublic java.security.cert.Certificate[] getCertificates()
ResourceHandle
getCertificates in interface ResourceHandlegetCertificates in class AbstractResourceHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||