org.apache.james.mime4j.field
Class MimeVersionFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.MimeVersionFieldImpl
- All Implemented Interfaces:
- MimeVersionField, ParsedField, Field
public class MimeVersionFieldImpl
- extends AbstractField
- implements MimeVersionField
Represents a MIME-Version
field.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_MINOR_VERSION
public static final int DEFAULT_MINOR_VERSION
- See Also:
- Constant Field Values
DEFAULT_MAJOR_VERSION
public static final int DEFAULT_MAJOR_VERSION
- See Also:
- Constant Field Values
PARSER
public static final FieldParser<MimeVersionField> PARSER
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion
in interface MimeVersionField
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion
in interface MimeVersionField
getParseException
public ParseException getParseException()
- Description copied from interface:
ParsedField
- Returns the exception that was thrown by the field parser while parsing
the field value. The result is
null
if the field is valid
and no errors were encountered.
- Specified by:
getParseException
in interface ParsedField
- Overrides:
getParseException
in class AbstractField
- Returns:
- the exception that was thrown by the field parser or
null
if the field is valid. - See Also:
ParsedField.getParseException()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.