Class DateTimeFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.DateTimeFieldImpl
- All Implemented Interfaces:
DateTimeField, ParsedField, Field
Date-time field such as
Date or Resent-Date.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Dateprivate booleanprivate ParseExceptionstatic final FieldParser<DateTimeField> Fields inherited from class AbstractField
monitor, rawField -
Constructor Summary
Constructors -
Method Summary
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 -
date
-
parseException
-
PARSER
-
-
Constructor Details
-
DateTimeFieldImpl
DateTimeFieldImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Details
-
getDate
- Specified by:
getDatein interfaceDateTimeField- 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()
-