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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldpublic static final FieldParser<ContentLanguageField> PARSER
public ParseException getParseException()
ParsedFieldnull if the field is valid
and no errors were encountered.getParseException in interface ParsedFieldgetParseException in class AbstractFieldnull if the field is valid.ParsedField.getParseException()public List<String> getLanguages()
ContentLanguageFieldgetLanguages in interface ContentLanguageFieldCopyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.