org.modeshape.common.util

## Class StringURLClassLoader

- java.lang.Object
- - java.lang.ClassLoader
  - - java.security.SecureClassLoader
    - - java.net.URLClassLoader
      - - org.modeshape.common.util.StringURLClassLoader

- All Implemented Interfaces:
    Closeable, AutoCloseable

      public final class StringURLClassLoader
      extends URLClassLoader

  Extension of a `URLClassLoader` which accepts a list of strings instead of urls, trying to convert each string to an url. If a string cannot be converted to a URL, it is discarded.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StringURLClassLoader(List<String> urls)`

  - ### Method Summary

    - ### Methods inherited from class java.net.URLClassLoader

      `addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance`

    - ### Methods inherited from class java.security.SecureClassLoader

      `defineClass, defineClass`

    - ### Methods inherited from class java.lang.ClassLoader

      `clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StringURLClassLoader

          public StringURLClassLoader(List<String> urls)

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.