public class ExportFormatterFactory
extends java.lang.Object
Constructor and Description |
---|
ExportFormatterFactory() |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<java.lang.String> |
getExportFormats()
Retrieves the file extension names of all available export formats.
|
static ExportFormatter |
getFormatter(java.lang.String format)
Creates an export formatter for a given file extension.
|
public static ExportFormatter getFormatter(java.lang.String format)
format
- Extension of the file format, for example, "txt", "csv",
"html", "xml", or "ods".null
if no
formatter is registered for the extension.public static java.util.Collection<java.lang.String> getExportFormats()