org.jboss.ws.core.utils
Class ResourceURL
java.lang.Object
org.jboss.ws.core.utils.ResourceURL
public class ResourceURL
- extends java.lang.Object
A wrapper around an URL that can handle input streams for resources in nested jars.
The jdk-1.5.0_10 cannot handle this type of URL
jar:file://somepath/jaxws-eardeployment.ear!/jaxws-eardeployment.war!/WEB-INF/wsdl/TestEndpoint.wsdl
- Since:
- 12-Dec-2006 (Dosi's birthday)
- Author:
- Thomas.Diesler@jboss.org
Constructor Summary |
ResourceURL(java.net.URL targetURL)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ResourceURL
public ResourceURL(java.net.URL targetURL)
getTargetURL
public java.net.URL getTargetURL()
openStream
public java.io.InputStream openStream()
throws java.io.IOException
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.