public static enum ChartDocument.OdfMediaType extends Enum<ChartDocument.OdfMediaType> implements MediaType
Enum Constant and Description |
---|
CHART |
CHART_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
String |
getMediaTypeString() |
static Document.OdfMediaType |
getOdfMediaType(String mediaType) |
String |
getSuffix() |
static ChartDocument.OdfMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChartDocument.OdfMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChartDocument.OdfMediaType CHART
public static final ChartDocument.OdfMediaType CHART_TEMPLATE
public static ChartDocument.OdfMediaType[] values()
for (ChartDocument.OdfMediaType c : ChartDocument.OdfMediaType.values()) System.out.println(c);
public static ChartDocument.OdfMediaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getMediaTypeString()
getMediaTypeString
in interface MediaType
public String getSuffix()
public static Document.OdfMediaType getOdfMediaType(String mediaType)
mediaType
- string defining an ODF documentCopyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.