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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldpublic 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 MimeVersionFieldpublic int getMajorVersion()
getMajorVersion in interface MimeVersionFieldpublic 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()Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.