public class WildcardGlobs
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | WildcardGlobs.InvalidPatternException | 
| static class  | WildcardGlobs.PhraseTreatmentif a string contains a demarcated phrase, e.g. | 
| static class  | WildcardGlobs.SpecialistGlobExpanderexpands globs as per #getGlobsAfterBraceExpansion, 
 but also handles numeric ranges, 
 and optionally allows customized treatment of quoted regions and/or parentheses. | 
| Constructor and Description | 
|---|
| WildcardGlobs() | 
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.List<java.lang.String> | getGlobsAfterBraceExpansion(java.lang.String pattern)returns a list with no curly braces in any entries,
 and guaranteeing order such that any {..,X,..,Y,..} will result in X being before Y in the resulting list;
 e.g. | 
| static java.util.List<java.lang.String> | getGlobsAfterBraceExpansion(java.lang.String pattern,
                           boolean allowNumericRanges,
                           WildcardGlobs.PhraseTreatment quoteTreatment,
                           WildcardGlobs.PhraseTreatment parenthesesTreatment)returns a list with no curly braces in any entries; e.g. | 
| static boolean | isGlobMatched(java.lang.String globPattern,
             java.lang.String targetText)returns true iff the target matches the given pattern,
 under simplified bash rules -- viz permitting * and ? and comma delimited patterns inside curly braces | 
| static boolean | isNoBraceGlobMatched(java.lang.String globPattern,
                    java.lang.String target)whether a glob-ish string without braces (e.g. | 
public static boolean isGlobMatched(java.lang.String globPattern,
                    java.lang.String targetText)
                             throws WildcardGlobs.InvalidPatternException
public static boolean isNoBraceGlobMatched(java.lang.String globPattern,
                           java.lang.String target)
public static java.util.List<java.lang.String> getGlobsAfterBraceExpansion(java.lang.String pattern)
                                                                    throws WildcardGlobs.InvalidPatternException
public static java.util.List<java.lang.String> getGlobsAfterBraceExpansion(java.lang.String pattern,
                                                           boolean allowNumericRanges,
                                                           WildcardGlobs.PhraseTreatment quoteTreatment,
                                                           WildcardGlobs.PhraseTreatment parenthesesTreatment)
                                                                    throws WildcardGlobs.InvalidPatternException