de.uni_hamburg.eggink.autojar
Class FileExpand
java.lang.Object
de.uni_hamburg.eggink.autojar.FileExpand
public class FileExpand
- extends Object
Expand wildcards in file names
- Author:
- Bernd Eggink, RRZ Uni Hamburg (Bernd.Eggink@rrz.uni-hamburg.de)
Method Summary |
static String[] |
getList(File basedir,
String expr)
Get List of files matching a wildcard expression, relative to basedir |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getList
public static String[] getList(File basedir,
String expr)
- Get List of files matching a wildcard expression, relative to basedir
- Parameters:
basedir
- Directory part, may be null.expr
- relative path, last component may contain wildcards
- Returns:
- Array of matching file names