Class ExoPattern
- java.lang.Object
-
- org.exoplatform.social.common.router.regex.ExoPattern
-
public class ExoPattern extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExoPatterncompile(String regex)static ExoPatterncompile(String regex, int flags)static Map<String,List<org.exoplatform.social.common.router.regex.ExoPattern.ExoGroupData>>extractGroupInfo(String namedPattern)Process extract given pattern string to Map of ArgumentName and GroupDataintindexOf(String groupName)intindexOf(String groupName, int index)ExoMatchermatcher(CharSequence input)booleanmatches(String s)Patternpattern()StringtoString()
-
-
-
Method Detail
-
compile
public static ExoPattern compile(String regex)
-
compile
public static ExoPattern compile(String regex, int flags)
-
indexOf
public int indexOf(String groupName)
-
indexOf
public int indexOf(String groupName, int index)
-
matcher
public ExoMatcher matcher(CharSequence input)
-
matches
public boolean matches(String s)
-
pattern
public Pattern pattern()
-
-