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
public class ContentLanguageFieldImpl
- extends AbstractField
- implements ContentLanguageField
Represents a Content-Transfer-Encoding
field.
PARSER
public static final FieldParser<ContentLanguageField> PARSER
getParseException
public ParseException getParseException()
- Description copied from interface:
ParsedField
- Returns the exception that was thrown by the field parser while parsing
the field value. The result is
null
if the field is valid
and no errors were encountered.
- Specified by:
getParseException
in interface ParsedField
- Overrides:
getParseException
in class AbstractField
- Returns:
- the exception that was thrown by the field parser or
null
if the field is valid. - See Also:
ParsedField.getParseException()
getLanguages
public List<String> getLanguages()
- Description copied from interface:
ContentLanguageField
- Gets the content language(s) defined in this field.
- Specified by:
getLanguages
in interface ContentLanguageField
- Returns:
- a list of content language(s).
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.