org.jboss.weld.environment.se.discovery.url
Class FileSystemURLHandler

java.lang.Object
  extended by org.jboss.weld.environment.se.discovery.url.FileSystemURLHandler

public class FileSystemURLHandler
extends Object

This class provides file-system orientated scanning

Author:
Pete Muir

Constructor Summary
FileSystemURLHandler()
           
 
Method Summary
static String filenameToClassname(String filename)
          Convert a path to a class file to a class name
 void handle(Collection<String> paths, List<String> discoveredClasses, List<URL> discoveredBeansXmlUrls)
           
protected  void handle(String name, URL url, List<String> discoveredClasses, List<URL> discoveredBeansXmlUrls)
           
protected  void handleDirectory(File file, String path, List<String> discoveredClasses, List<URL> discoveredBeansXmlUrls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemURLHandler

public FileSystemURLHandler()
Method Detail

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 Seam Framework. All Rights Reserved.