org.openbp.common.classloader
Class UrlResourceSpec

java.lang.Object
  extended by org.openbp.common.classloader.UrlResourceSpec
All Implemented Interfaces:
ResourceSpec
Direct Known Subclasses:
BinaryResourceSpec, DirectoryUrlResourceSpec, FileUrlResourceSpec, JarUrlResourceSpec

public abstract class UrlResourceSpec
extends java.lang.Object
implements ResourceSpec

XClassLoader resource that specifies its target using an URL.

Author:
Heiko Erhardt

Constructor Summary
UrlResourceSpec()
          Default constructor.
UrlResourceSpec(java.net.URL url)
          Value constructor.
 
Method Summary
 java.net.URL getUrl()
          Gets the uRL of the resource.
 void setUrl(java.net.URL url)
          Sets the uRL of the resource.
 java.net.URL toUrl()
          Gets the URL representation of this resource specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openbp.common.classloader.ResourceSpec
addEntriesToClassLoader
 

Constructor Detail

UrlResourceSpec

public UrlResourceSpec()
Default constructor.


UrlResourceSpec

public UrlResourceSpec(java.net.URL url)
Value constructor.

Parameters:
url - URL of the resource
Method Detail

getUrl

public java.net.URL getUrl()
Gets the uRL of the resource.


setUrl

public void setUrl(java.net.URL url)
Sets the uRL of the resource.


toUrl

public java.net.URL toUrl()
Gets the URL representation of this resource specification.

Specified by:
toUrl in interface ResourceSpec


Copyright © 2011. All Rights Reserved.