Package org.apache.james.mime4j.field
Class MailboxFieldLenientImpl
- java.lang.Object
-
- org.apache.james.mime4j.field.AbstractField
-
- org.apache.james.mime4j.field.MailboxFieldLenientImpl
-
- All Implemented Interfaces:
MailboxField
,ParsedField
,Field
public class MailboxFieldLenientImpl extends AbstractField implements MailboxField
Mailbox field such asSender
orResent-Sender
.
-
-
Field Summary
Fields Modifier and Type Field Description private Mailbox
mailbox
private boolean
parsed
static FieldParser<MailboxField>
PARSER
-
Fields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField
-
-
Constructor Summary
Constructors Constructor Description MailboxFieldLenientImpl(Field rawField, DecodeMonitor monitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mailbox
getMailbox()
private void
parse()
-
Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getNameLowerCase, getParseException, getRaw, getRawField, isValidField, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRaw
-
Methods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
bodyDescriptionField, getParseException, isValidField
-
-
-
-
Field Detail
-
parsed
private boolean parsed
-
mailbox
private Mailbox mailbox
-
PARSER
public static final FieldParser<MailboxField> PARSER
-
-
Constructor Detail
-
MailboxFieldLenientImpl
MailboxFieldLenientImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Detail
-
getMailbox
public Mailbox getMailbox()
- Specified by:
getMailbox
in interfaceMailboxField
-
parse
private void parse()
-
-