public class MessageMatcher extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MessageMatcher.MessageMatcherBuilder |
| Modifier and Type | Method and Description |
|---|---|
static MessageMatcher.MessageMatcherBuilder |
builder() |
protected void |
handle(Exception e) |
boolean |
isFoundIn(Reader reader,
CharBuffer buffer) |
boolean |
messageMatches(InputStream input)
Is searchContents found in the given input?
|
public static MessageMatcher.MessageMatcherBuilder builder()
public boolean messageMatches(InputStream input) throws IOException, MimeException
input - InputStream containing an emailIOExceptionMimeExceptionprotected void handle(Exception e) throws IOException, MimeException
IOExceptionMimeExceptionpublic boolean isFoundIn(Reader reader, CharBuffer buffer) throws IOException
IOExceptionCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.