public enum DocumentFormatType extends Enum<DocumentFormatType>
| Enum Constant and Description |
|---|
DOCUMENT
Document type, such as txt, pdf, online web pages, etc.
|
IMAGE
Photo type, such as png images, etc.
|
SPREADSHEET
Spreadsheet type, such as xls spreadsheets, etc.
|
| Modifier and Type | Method and Description |
|---|---|
static DocumentFormatType |
fromValue(int value) |
int |
getValue() |
static DocumentFormatType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentFormatType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentFormatType DOCUMENT
public static final DocumentFormatType SPREADSHEET
public static final DocumentFormatType IMAGE
public static DocumentFormatType[] values()
for (DocumentFormatType c : DocumentFormatType.values()) System.out.println(c);
public static DocumentFormatType 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 int getValue()
public static DocumentFormatType fromValue(int value)
Copyright © 2024. All rights reserved.