public static enum OdfPresentationDocument.OdfMediaType extends Enum<OdfPresentationDocument.OdfMediaType> implements MediaType
Enum Constant and Description |
---|
PRESENTATION |
PRESENTATION_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
String |
getMediaTypeString() |
OdfDocument.OdfMediaType |
getOdfMediaType() |
static OdfDocument.OdfMediaType |
getOdfMediaType(String mediaType) |
String |
getSuffix() |
static OdfPresentationDocument.OdfMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdfPresentationDocument.OdfMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdfPresentationDocument.OdfMediaType PRESENTATION
public static final OdfPresentationDocument.OdfMediaType PRESENTATION_TEMPLATE
public static OdfPresentationDocument.OdfMediaType[] values()
for (OdfPresentationDocument.OdfMediaType c : OdfPresentationDocument.OdfMediaType.values()) System.out.println(c);
public static OdfPresentationDocument.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 OdfDocument.OdfMediaType getOdfMediaType()
public String getMediaTypeString()
getMediaTypeString
in interface MediaType
public String getSuffix()
public static OdfDocument.OdfMediaType getOdfMediaType(String mediaType)
mediaType
- string defining an ODF documentCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.