public enum SpreadsheetFileFormat extends Enum<SpreadsheetFileFormat>
Enum Constant and Description |
---|
EXCEL2003
Specifies the Excel 97-2003 Workbook (*.xls) format.
|
EXCEL2007
Specifies the Excel 2007 Workbook (*.xlsx) format.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the Excel file format.
|
static SpreadsheetFileFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpreadsheetFileFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpreadsheetFileFormat EXCEL2003
public static final SpreadsheetFileFormat EXCEL2007
public static SpreadsheetFileFormat[] values()
for (SpreadsheetFileFormat c : SpreadsheetFileFormat.values()) System.out.println(c);
public static SpreadsheetFileFormat 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 String getValue()