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
public class ContentDescriptionFieldImpl extends AbstractField implements ContentDescriptionField
Represents aContent-Descriptionfield.
-
-
Field Summary
Fields Modifier and Type Field Description static FieldParser<ContentDescriptionField>PARSER-
Fields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Gets the content description defined in this field.-
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
getParseException, isValidField
-
-
-
-
Field Detail
-
PARSER
public static final FieldParser<ContentDescriptionField> PARSER
-
-
Method Detail
-
getDescription
public String 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.
-
-