public class Patterns extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
Patterns.IPatternNameSetExtractor |
protected static class |
Patterns.ParsePatternForGroupNamesNameSetExtractor |
protected static class |
Patterns.ProtectedMethodCallSetExtractor |
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
build(Collection<String> parts) |
static Pattern |
build(String... parts) |
static boolean |
find(Pattern pattern,
CharSequence input) |
static Pattern |
group(Pattern... patterns) |
static Pattern |
group(String... patterns) |
static Pattern |
join(Collection<Pattern> patterns) |
static Pattern |
join(Pattern... patterns) |
static com.google.common.base.Optional<Map<String,String>> |
match(Matcher matcher) |
static com.google.common.base.Optional<Map<String,String>> |
match(Matcher matcher,
Set<String> names) |
static Pattern |
namedGroup(String name,
Pattern... patterns) |
static Pattern |
namedGroup(String name,
String... patterns) |
static Set<String> |
names(Pattern pattern) |
public static boolean find(Pattern pattern, CharSequence input)
public static com.google.common.base.Optional<Map<String,String>> match(Matcher matcher, Set<String> names)
public static Pattern build(Collection<String> parts)
public static Pattern join(Collection<Pattern> patterns)
Copyright © 2014. All Rights Reserved.