public enum DocumentType extends Enum<DocumentType>
Modifier and Type | Method and Description |
---|---|
static Set<DocumentType> |
fromSourceExtension(String sourceExtension) |
static Set<DocumentType> |
fromTranslationExtension(String translationExtension) |
static Set<String> |
getAllSourceExtensions() |
static Set<String> |
getAllTranslationExtensions() |
static DocumentType |
getByName(String name) |
Map<String,String> |
getExtensions() |
Set<String> |
getSourceExtensions() |
Set<String> |
getTranslationExtensions() |
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
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 final DocumentType HTML
public static final DocumentType IDML
public static final DocumentType SUBTITLE
public static final DocumentType PROPERTIES
public static final DocumentType PROPERTIES_UTF8
public static final DocumentType XML
public static final DocumentType XLIFF
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 null@Nullable public static DocumentType getByName(String name)
public static Set<String> getAllSourceExtensions()
public static Set<String> getAllTranslationExtensions()
public static Set<DocumentType> fromSourceExtension(String sourceExtension)
public static Set<DocumentType> fromTranslationExtension(String translationExtension)
Copyright © 2015 Zanata Project. All rights reserved.