public enum DocumentKind extends java.lang.Enum<DocumentKind>
| Modifier and Type | Method and Description |
|---|---|
static DocumentKind |
fromMimeType(java.lang.String mimetype) |
java.lang.String |
getMimeType() |
static DocumentKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DocumentKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentKind ODT
public static final DocumentKind ODS
public static final DocumentKind ODP
public static final DocumentKind DOCX
public static final DocumentKind PPTX
public static DocumentKind[] values()
for (DocumentKind c : DocumentKind.values()) System.out.println(c);
public static DocumentKind valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getMimeType()
public static DocumentKind fromMimeType(java.lang.String mimetype)
Copyright © 2019. All Rights Reserved.