public interface MimeVersionHeader extends Header
For Example:
MIME-Version: 1.0
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Name of MimeVersionHeader
|
Modifier and Type | Method and Description |
---|---|
int |
getMajorVersion()
Gets the Major version value of this MimeVersionHeader.
|
int |
getMinorVersion()
Gets the Minor version value of this MimeVersionHeader.
|
void |
setMajorVersion(int majorVersion)
Sets the Major-Version argument of this MimeVersionHeader to the supplied
majorVersion value.
|
void |
setMinorVersion(int minorVersion)
Sets the Minor-Version argument of this MimeVersionHeader to the supplied
minorVersion value.
|
static final String NAME
int getMinorVersion()
void setMinorVersion(int minorVersion) throws InvalidArgumentException
minorVersion
- - the new minor MIME versionInvalidArgumentException
- if the supplied value is less than zero.int getMajorVersion()
void setMajorVersion(int majorVersion) throws InvalidArgumentException
majorVersion
- - the new major MIME versionInvalidArgumentException
- if the supplied version is less than zero.Copyright © 2018. All Rights Reserved.