Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static MimeType |
getValueOf(java.lang.String mimeType) |
static MimeType |
toEmailBodyType(int value) |
static MimeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MimeType PlainText
public static final MimeType HTML
public static final MimeType RTF
public static final MimeType MIME
public static MimeType[] values()
for (MimeType c : MimeType.values()) System.out.println(c);
public static MimeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static MimeType toEmailBodyType(int value)
public static MimeType getValueOf(java.lang.String mimeType)
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.