Package org.apache.james.mime4j.field
Class ContentLanguageFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentLanguageFieldImpl
- All Implemented Interfaces:
ContentLanguageField,ParsedField,Field
Represents a
Content-Transfer-Encoding field.-
Field Summary
FieldsFields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField -
Method Summary
Modifier and TypeMethodDescriptionGets the content language(s) defined in this field.Returns the exception that was thrown by the field parser while parsing the field value.Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getNameLowerCase, getRaw, getRawField, isValidField, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.james.mime4j.dom.field.ContentLanguageField
bodyDescriptionFieldMethods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
isValidField
-
Field Details
-
PARSER
-
-
Method Details
-
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:
-
getLanguages
Description copied from interface:ContentLanguageFieldGets the content language(s) defined in this field.- Specified by:
getLanguagesin interfaceContentLanguageField- Returns:
- a list of content language(s).
-