com.googlecode.flyway.core.util.scanner
Interface LocationScanner

All Known Implementing Classes:
FileSystemLocationScanner, JarFileLocationScanner, JBossVFSLocationScanner

public interface LocationScanner

Scans for classpath resources in this location.


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.
 

Method Detail

findResourceNames

java.util.Set<java.lang.String> findResourceNames(java.lang.String location,
                                                  java.lang.String locationUrl)
                                                  throws java.io.IOException
Finds the resource names below this location on the classpath under this locationUrl.

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.