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 emailIOException
MimeException
protected void handle(Exception e) throws IOException, MimeException
IOException
MimeException
public boolean isFoundIn(Reader reader, CharBuffer buffer) throws IOException
IOException
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.