Package aQute.libg.glob
Class Glob
java.lang.Object
aQute.libg.glob.Glob
- Direct Known Subclasses:
AntGlob
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Get a list of files that match the glob expressionvoid
glob()
int
hashCode()
static boolean
static boolean
in
(Collection<? extends Glob> globs, String key) private static boolean
isEnd
(char c) private static boolean
isStart
(char c) matcher
(CharSequence input) boolean
boolean
pattern()
void
select
(Collection<?> objects) void
static Pattern
static Pattern
toString()
-
Field Details
-
ALL
-
NONE
-
glob
-
pattern
-
-
Constructor Details
-
Glob
-
Glob
-
Glob
-
-
Method Details
-
glob
-
pattern
-
matcher
-
toString
-
toPattern
-
toPattern
-
isStart
private static boolean isStart(char c) -
isEnd
private static boolean isEnd(char c) -
select
-
select
-
getFiles
Get a list of files that match the glob expression- Parameters:
root
- the directory to get the files fromrecursive
- to traverse the dirs recursive- Returns:
- file list
-
getFiles
-
in
-
in
-
finds
-
hashCode
public int hashCode() -
equals
-
matches
-
matches
-