Package org.apache.james.mime4j.field
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 String
private boolean
static final FieldParser
<ContentDescriptionField> Fields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the content description defined in this field.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.dom.field.ContentDescriptionField
bodyDescriptionField
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
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:ContentDescriptionField
Gets the content description defined in this field.- Specified by:
getDescription
in interfaceContentDescriptionField
- Returns:
- the content description or
null
if not set.
-