public class Glob
extends java.lang.Object
| Constructor and Description |
|---|
Glob(java.lang.String pattern) |
Glob(java.lang.String pattern,
boolean caseInSensitive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsGlob() |
static boolean |
containsGlob(java.lang.String pattern) |
GlobPattern[] |
getCompiledPattern() |
java.lang.String |
getPatternSource() |
boolean |
isCaseInSensitive() |
boolean |
matches(char[] src)
Match the given char-Array.
|
boolean |
matches(java.lang.String string)
Match the given string.
|
void |
setPatternSource(java.lang.String patternSource) |
java.util.regex.Pattern |
toPattern() |
java.lang.String |
toString() |
public Glob(java.lang.String pattern)
throws java.text.ParseException
java.text.ParseExceptionpublic Glob(java.lang.String pattern,
boolean caseInSensitive)
throws java.text.ParseException
java.text.ParseExceptionpublic static boolean containsGlob(java.lang.String pattern)
public boolean matches(java.lang.String string)
public boolean matches(char[] src)
public boolean containsGlob()
public boolean isCaseInSensitive()
public GlobPattern[] getCompiledPattern()
@Nonnull public java.util.regex.Pattern toPattern()
public java.lang.String getPatternSource()
public void setPatternSource(java.lang.String patternSource)
throws java.text.ParseException
java.text.ParseExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2013 echocat. All Rights Reserved.