public class ContentLanguageFieldImpl extends AbstractField implements ContentLanguageField
Content-Transfer-Encoding
field.Modifier and Type | Field and Description |
---|---|
static FieldParser<ContentLanguageField> |
PARSER |
monitor, rawField
Modifier and Type | Method and Description |
---|---|
List<String> |
getLanguages()
Gets the content language(s) defined in this field.
|
ParseException |
getParseException()
Returns the exception that was thrown by the field parser while parsing
the field value.
|
getBody, getName, getRaw, getRawField, isValidField, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isValidField
public static final FieldParser<ContentLanguageField> PARSER
public ParseException getParseException()
ParsedField
null
if the field is valid
and no errors were encountered.getParseException
in interface ParsedField
getParseException
in class AbstractField
null
if the field is valid.ParsedField.getParseException()
public List<String> getLanguages()
ContentLanguageField
getLanguages
in interface ContentLanguageField
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.