org.jboss.forge.container.modules
Class ModularFileSystemURLHandler
java.lang.Object
org.jboss.forge.container.modules.ModularFileSystemURLHandler
public class ModularFileSystemURLHandler
- extends Object
This class provides file-system orientated scanning
- Author:
- Pete Muir, Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModularFileSystemURLHandler
public ModularFileSystemURLHandler(org.jboss.weld.resources.spi.ResourceLoader resourceLoader)
handle
public void handle(Collection<String> paths,
List<String> discoveredClasses,
List<URL> discoveredBeansXmlUrls)
handleDirectory
protected void handleDirectory(File file,
String path,
List<String> discoveredClasses,
List<URL> discoveredBeansXmlUrls)
handle
protected void handle(String name,
URL url,
List<String> discoveredClasses,
List<URL> discoveredBeansXmlUrls)
filenameToClassname
public static String filenameToClassname(String filename)
- Convert a path to a class file to a class name
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.