fedora.utilities.install
Class ClassLoaderDistribution

java.lang.Object
  extended by fedora.utilities.install.Distribution
      extended by fedora.utilities.install.ClassLoaderDistribution

public class ClassLoaderDistribution
extends Distribution


Field Summary
 
Fields inherited from class fedora.utilities.install.Distribution
COMMONS_COLLECTIONS, COMMONS_DBCP, COMMONS_POOL, DBSPEC, DEMO_WAR, FEDORA_HOME, FEDORA_WAR, FOP_WAR, IMAGEMANIP_WAR, JDBC_MCKOI, JDBC_MYSQL, JDBC_POSTGRESQL, KEYSTORE, LOG4J, MCKOI, MCKOI_BASENAME, SAXON_WAR, TOMCAT, TOMCAT_BASENAME, TRUSTSTORE
 
Constructor Summary
ClassLoaderDistribution()
           
ClassLoaderDistribution(java.lang.ClassLoader cl)
           
 
Method Summary
 boolean contains(java.lang.String path)
           
 java.io.InputStream get(java.lang.String path)
          Requested resources will automatically be prefixed with "resources/".
 java.net.URL getURL(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderDistribution

public ClassLoaderDistribution()

ClassLoaderDistribution

public ClassLoaderDistribution(java.lang.ClassLoader cl)
Method Detail

contains

public boolean contains(java.lang.String path)
Specified by:
contains in class Distribution

get

public java.io.InputStream get(java.lang.String path)
                        throws java.io.IOException
Requested resources will automatically be prefixed with "resources/".

Specified by:
get in class Distribution
Throws:
java.io.IOException

getURL

public java.net.URL getURL(java.lang.String path)
Specified by:
getURL in class Distribution