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