public class ContentLanguageFieldImpl extends AbstractField implements ContentLanguageField
Content-Transfer-Encoding field.| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.String> |
languages |
private boolean |
parsed |
private ParseException |
parseException |
static FieldParser<ContentLanguageField> |
PARSER |
monitor, rawField| Constructor and Description |
|---|
ContentLanguageFieldImpl(Field rawField,
DecodeMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.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.
|
private void |
parse() |
getBody, getName, getRaw, getRawField, isValidField, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldprivate boolean parsed
private java.util.List<java.lang.String> languages
private ParseException parseException
public static final FieldParser<ContentLanguageField> PARSER
ContentLanguageFieldImpl(Field rawField, DecodeMonitor monitor)
private void parse()
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 java.util.List<java.lang.String> getLanguages()
ContentLanguageFieldgetLanguages in interface ContentLanguageField