|
||||||||||
| 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.DirectoryResourceHandle
public class DirectoryResourceHandle
| Constructor Summary | |
|---|---|
DirectoryResourceHandle(java.lang.String name,
java.io.File file,
java.io.File codeSource,
java.util.jar.Manifest manifest)
|
|
| Method Summary | |
|---|---|
java.util.jar.Attributes |
getAttributes()
Return the Attributes of the resource, or null if none. |
java.security.cert.Certificate[] |
getCertificates()
Always return null. |
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 DirectoryResourceHandle(java.lang.String name,
java.io.File file,
java.io.File codeSource,
java.util.jar.Manifest manifest)
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()
getCertificates in interface ResourceHandlegetCertificates in class AbstractResourceHandle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||