|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.fs.GlobPattern
public class GlobPattern
A class for POSIX glob pattern with brace expansions.
| Constructor Summary | |
|---|---|
GlobPattern(String globPattern)
Construct the glob pattern object with a glob pattern string |
|
| Method Summary | |
|---|---|
static Pattern |
compile(String globPattern)
Compile glob pattern string |
Pattern |
compiled()
|
boolean |
hasWildcard()
|
boolean |
matches(CharSequence s)
Match input against the compiled glob pattern |
void |
set(String glob)
Set and compile a glob pattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobPattern(String globPattern)
globPattern - the glob pattern string| Method Detail |
|---|
public Pattern compiled()
public static Pattern compile(String globPattern)
globPattern - the glob pattern
public boolean matches(CharSequence s)
s - input chars
public void set(String glob)
glob - the glob pattern stringpublic boolean hasWildcard()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||