public enum OutputFormat extends Enum<OutputFormat>
| Enum Constant and Description |
|---|
DOC
Microsoft Word Document
|
EMBEDDED_HTML
HTML output for embedding in a different page.
|
HTML
Full HTML output
|
PDF
PDF
|
PPT
Microsoft Powerpoint
|
XLS
Microsoft Excel file
|
| Modifier and Type | Method and Description |
|---|---|
static OutputFormat |
fromExtension(String extension) |
static OutputFormat |
fromMimeType(String mimeType) |
static OutputFormat |
fromPropValue(String propValue) |
String |
getExtension() |
String |
getMimeType() |
String |
getPropValue() |
static OutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutputFormat HTML
public static final OutputFormat EMBEDDED_HTML
public static final OutputFormat PDF
public static final OutputFormat PPT
public static final OutputFormat DOC
public static final OutputFormat XLS
public static OutputFormat[] values()
for (OutputFormat c : OutputFormat.values()) System.out.println(c);
public static OutputFormat 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 getPropValue()
public String getExtension()
public String getMimeType()
public static OutputFormat fromPropValue(String propValue)
public static OutputFormat fromExtension(String extension)
public static OutputFormat fromMimeType(String mimeType)
? Copyright 2013 BMC Software, Inc.