|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectaQute.libg.glob.Glob
public class Glob
| Constructor Summary | |
|---|---|
Glob(String globString)
|
|
Glob(String globString,
int flags)
|
|
| Method Summary | |
|---|---|
List<File> |
getFiles(File root,
boolean recursive,
boolean usePath)
Get a list of files that match the glob expression |
void |
getFiles(File root,
List<File> result,
boolean recursive,
boolean usePath)
|
Matcher |
matcher(CharSequence input)
|
void |
select(List<?> objects)
|
static Pattern |
toPattern(String s)
|
static Pattern |
toPattern(String s,
int flags)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Glob(String globString)
public Glob(String globString,
int flags)
| Method Detail |
|---|
public Matcher matcher(CharSequence input)
public String toString()
toString in class Objectpublic void select(List<?> objects)
public static Pattern toPattern(String s)
public static Pattern toPattern(String s,
int flags)
public List<File> getFiles(File root,
boolean recursive,
boolean usePath)
root - the directory to get the files fromrecursive - to traverse the dirs recursive
public void getFiles(File root,
List<File> result,
boolean recursive,
boolean usePath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||