public enum DocumentType extends Enum<DocumentType>
Modifier and Type | Method and Description |
---|---|
static List<String> |
getAllExtensions() |
String |
getExtension() |
static DocumentType |
typeFor(String extension) |
static DocumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentType GETTEXT_PORTABLE_OBJECT
public static final DocumentType GETTEXT_PORTABLE_OBJECT_TEMPLATE
public static final DocumentType PLAIN_TEXT
public static final DocumentType XML_DOCUMENT_TYPE_DEFINITION
public static final DocumentType OPEN_DOCUMENT_TEXT
public static final DocumentType OPEN_DOCUMENT_TEXT_FLAT
public static final DocumentType OPEN_DOCUMENT_PRESENTATION
public static final DocumentType OPEN_DOCUMENT_PRESENTATION_FLAT
public static final DocumentType OPEN_DOCUMENT_SPREADSHEET
public static final DocumentType OPEN_DOCUMENT_SPREADSHEET_FLAT
public static final DocumentType OPEN_DOCUMENT_GRAPHICS
public static final DocumentType OPEN_DOCUMENT_GRAPHICS_FLAT
public static final DocumentType OPEN_DOCUMENT_DATABASE
public static final DocumentType OPEN_DOCUMENT_FORMULA
public static DocumentType[] values()
for (DocumentType c : DocumentType.values()) System.out.println(c);
public static DocumentType 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 static List<String> getAllExtensions()
public static DocumentType typeFor(String extension)
public String getExtension()
Copyright © 2013 Zanata Project. All Rights Reserved.