Interface ContentLanguageField
-
- All Superinterfaces:
Field
,ParsedField
- All Known Implementing Classes:
ContentLanguageFieldImpl
,ContentLanguageFieldLenientImpl
public interface ContentLanguageField extends ParsedField
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
bodyDescriptionField()
java.util.List<java.lang.String>
getLanguages()
Gets the content language(s) defined in this field.-
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
-
-
-
-
Method Detail
-
bodyDescriptionField
default boolean bodyDescriptionField()
- Specified by:
bodyDescriptionField
in interfaceParsedField
-
getLanguages
java.util.List<java.lang.String> getLanguages()
Gets the content language(s) defined in this field.- Returns:
- a list of content language(s).
-
-