public class Glob
extends java.lang.Object
| Constructor and Description |
|---|
Glob(java.lang.String globString) |
Glob(java.lang.String globString,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.io.File> |
getFiles(java.io.File root,
boolean recursive,
boolean usePath)
Get a list of files that match the glob expression
|
void |
getFiles(java.io.File root,
java.util.List<java.io.File> result,
boolean recursive,
boolean usePath) |
java.util.regex.Matcher |
matcher(java.lang.CharSequence input) |
void |
select(java.util.List<?> objects) |
static java.util.regex.Pattern |
toPattern(java.lang.String s) |
static java.util.regex.Pattern |
toPattern(java.lang.String s,
int flags) |
java.lang.String |
toString() |
public static final Glob ALL
public Glob(java.lang.String globString)
public Glob(java.lang.String globString,
int flags)
public java.util.regex.Matcher matcher(java.lang.CharSequence input)
public java.lang.String toString()
toString in class java.lang.Objectpublic void select(java.util.List<?> objects)
public static java.util.regex.Pattern toPattern(java.lang.String s)
public static java.util.regex.Pattern toPattern(java.lang.String s,
int flags)
public java.util.List<java.io.File> getFiles(java.io.File root,
boolean recursive,
boolean usePath)
root - the directory to get the files fromrecursive - to traverse the dirs recursivepublic void getFiles(java.io.File root,
java.util.List<java.io.File> result,
boolean recursive,
boolean usePath)
aQute SARL