public class MailboxFieldImpl extends AbstractField implements MailboxField
Sender or Resent-Sender.| Modifier and Type | Field and Description |
|---|---|
private Mailbox |
mailbox |
private boolean |
parsed |
private ParseException |
parseException |
static FieldParser<MailboxField> |
PARSER |
monitor, rawField| Constructor and Description |
|---|
MailboxFieldImpl(Field rawField,
DecodeMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
getMailbox() |
ParseException |
getParseException()
Returns the exception that was thrown by the field parser while parsing
the field value.
|
private void |
parse() |
getBody, getName, getRaw, getRawField, isValidField, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldprivate boolean parsed
private Mailbox mailbox
private ParseException parseException
public static final FieldParser<MailboxField> PARSER
MailboxFieldImpl(Field rawField, DecodeMonitor monitor)
public Mailbox getMailbox()
getMailbox in interface MailboxFieldMailboxField.getMailbox()public ParseException getParseException()
ParsedFieldnull if the field is valid
and no errors were encountered.getParseException in interface ParsedFieldgetParseException in class AbstractFieldnull if the field is valid.ParsedField.getParseException()private void parse()