com.googlecode.flyway.core.util.scanner
Class FileSystemLocationScanner

java.lang.Object
  extended by com.googlecode.flyway.core.util.scanner.FileSystemLocationScanner
All Implemented Interfaces:
LocationScanner

public class FileSystemLocationScanner
extends java.lang.Object
implements LocationScanner

LocationScanner for the file system.


Constructor Summary
FileSystemLocationScanner()
           
 
Method Summary
 java.util.Set<java.lang.String> findResourceNames(java.lang.String location, java.lang.String locationUrl)
          Finds the resource names below this location on the classpath under this locationUrl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystemLocationScanner

public FileSystemLocationScanner()
Method Detail

findResourceNames

public java.util.Set<java.lang.String> findResourceNames(java.lang.String location,
                                                         java.lang.String locationUrl)
                                                  throws java.io.IOException
Description copied from interface: LocationScanner
Finds the resource names below this location on the classpath under this locationUrl.

Specified by:
findResourceNames in interface LocationScanner
Parameters:
location - The system-independent location on the classpath.
locationUrl - The system-specific physical location URL.
Returns:
The system-independent names of the resources on the classpath.
Throws:
java.io.IOException - when the scanning failed.


Copyright © 2012. All Rights Reserved.