Class ContentDescriptionFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentDescriptionFieldImpl
- All Implemented Interfaces:
ContentDescriptionField, ParsedField, Field
Represents a
Content-Description field.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate booleanstatic final FieldParser<ContentDescriptionField> Fields inherited from class AbstractField
monitor, rawField -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content description defined in this field.private voidparse()Methods inherited from class AbstractField
getBody, getName, getNameLowerCase, getParseException, getRaw, getRawField, isValidField, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContentDescriptionField
bodyDescriptionFieldMethods inherited from interface Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface ParsedField
getParseException, isValidField
-
Field Details
-
parsed
private boolean parsed -
description
-
PARSER
-
-
Constructor Details
-
ContentDescriptionFieldImpl
ContentDescriptionFieldImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Details
-
parse
private void parse() -
getDescription
Description copied from interface:ContentDescriptionFieldGets the content description defined in this field.- Specified by:
getDescriptionin interfaceContentDescriptionField- Returns:
- the content description or
nullif not set.
-