public class RegexMessageAnnotator extends AbstractMessageAnnotator
| Constructor and Description |
|---|
RegexMessageAnnotator(java.util.regex.Pattern pattern,
java.util.function.Function<java.lang.String,MessageAnnotation> annotationFactory) |
RegexMessageAnnotator(java.lang.String pattern,
java.util.function.Function<java.lang.String,MessageAnnotation> annotationFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<MessageAnnotation> |
annotate(java.lang.String text) |
public RegexMessageAnnotator(java.lang.String pattern,
java.util.function.Function<java.lang.String,MessageAnnotation> annotationFactory)
public RegexMessageAnnotator(java.util.regex.Pattern pattern,
java.util.function.Function<java.lang.String,MessageAnnotation> annotationFactory)
public java.util.Collection<MessageAnnotation> annotate(java.lang.String text)