public class MimeVersionFieldImpl extends AbstractField implements MimeVersionField
MIME-Version
field.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAJOR_VERSION |
static int |
DEFAULT_MINOR_VERSION |
static FieldParser<MimeVersionField> |
PARSER |
monitor, rawField
Modifier and Type | Method and Description |
---|---|
int |
getMajorVersion() |
int |
getMinorVersion() |
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 int DEFAULT_MINOR_VERSION
public static final int DEFAULT_MAJOR_VERSION
public static final FieldParser<MimeVersionField> PARSER
public int getMinorVersion()
getMinorVersion
in interface MimeVersionField
public int getMajorVersion()
getMajorVersion
in interface MimeVersionField
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()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.