Class AddressListFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.AddressListFieldImpl
- All Implemented Interfaces:
AddressListField, ParsedField, Field
Address list field such as
To or Reply-To.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AddressListprivate booleanprivate ParseExceptionstatic final FieldParser<AddressListField> Fields inherited from class AbstractField
monitor, rawField -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the exception that was thrown by the field parser while parsing the field value.private voidparse()Methods inherited from class AbstractField
getBody, getName, getNameLowerCase, getRaw, getRawField, isValidField, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface ParsedField
bodyDescriptionField, isValidField
-
Field Details
-
parsed
private boolean parsed -
addressList
-
parseException
-
PARSER
-
-
Constructor Details
-
AddressListFieldImpl
AddressListFieldImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Details
-
getAddressList
- Specified by:
getAddressListin interfaceAddressListField- See Also:
-
getParseException
Description copied from interface:ParsedFieldReturns the exception that was thrown by the field parser while parsing the field value. The result isnullif the field is valid and no errors were encountered.- Specified by:
getParseExceptionin interfaceParsedField- Overrides:
getParseExceptionin classAbstractField- Returns:
- the exception that was thrown by the field parser or
nullif the field is valid. - See Also:
-
parse
private void parse()
-