org.apache.commons.classscan.builtin
Class DefaultClassPathElementFactory
java.lang.Object
org.apache.commons.classscan.builtin.DefaultClassPathElementFactory
- All Implemented Interfaces:
- ClassPathElementFactory
public class DefaultClassPathElementFactory
- extends Object
- implements ClassPathElementFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultClassPathElementFactory
public DefaultClassPathElementFactory()
getClassPathElement
public SpiClassPathElement getClassPathElement(MetaRegistry metaRegistry,
URL url)
throws IOException
- Description copied from interface:
ClassPathElementFactory
- Create a ClassPathElement for a URL
- Specified by:
getClassPathElement
in interface ClassPathElementFactory
- Parameters:
metaRegistry
- The registryurl
- The url that is the base location of class files
- Returns:
- null, if the URL scheme cannot be supported; otherwise a ClassPathElement for the URL
- Throws:
IOException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.