org.jbehave.core.io
Class JarFileScanner
java.lang.Object
org.jbehave.core.io.JarFileScanner
public class JarFileScanner
- extends Object
Find all matching file entries in a jar.
|
Method Summary |
List<String> |
scan()
Scans the jar file and returns the paths that match the includes and excludes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JarFileScanner
public JarFileScanner(String jarPath,
String includes,
String excludes)
JarFileScanner
public JarFileScanner(String jarPath,
List<String> includes,
List<String> excludes)
JarFileScanner
public JarFileScanner(URL jarURL,
String includes,
String excludes)
JarFileScanner
public JarFileScanner(URL jarURL,
List<String> includes,
List<String> excludes)
scan
public List<String> scan()
- Scans the jar file and returns the paths that match the includes and excludes.
- Returns:
- A List of paths
- Throws:
An - IllegalStateException when an I/O error occurs in reading the jar file.
Copyright © 2003-2012. All Rights Reserved.