Package org.auto.io.scanner

Examples of org.auto.io.scanner.FileSystemResourceScanner


  private void init() {
    ResourcePatternScannerManager scannerManager = new ResourcePatternScannerManager();
    scannerManager.addScanner(ClassPathResource.RESOURCE_PROTOCOL_NAME,
        new ClassPathResourceScanner());
    scannerManager.addScanner(FileResource.RESOURCE_PROTOCOL_NAME,
        new FileSystemResourceScanner());
    scannerManager.addScanner(
        ServletContextResource.RESOURCE_PROTOCOL_NAME,
        new ServletContextResourceScanner(servletContext));
    setResourcePatternScannerManager(scannerManager);
  }
View Full Code Here

TOP

Related Classes of org.auto.io.scanner.FileSystemResourceScanner

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.