public enum WorkbookFormat extends Enum<WorkbookFormat>
Enum Constant and Description |
---|
ALL
Input and output data sheet and rule sheet.
|
ALLX
Input and output data sheet and rule sheet (Excel 2007).
|
DATA
Only data sheet.
|
DATAX
Only data sheet (Excel 2007).
|
INOUT
Input data sheet and output data sheet.
|
INOUTX
Input data sheet and output data sheet (Excel 2007).
|
INSPECT
Expected data sheet and rule sheet.
|
INSPECTX
Expected data sheet and rule sheet (Excel 2007).
|
RULE
Only rule sheet.
|
RULEX
Only rule sheet (Excel 2007).
|
Modifier and Type | Method and Description |
---|---|
static WorkbookFormat |
findByName(String format)
Returns predefined format by its name.
|
String |
getFileName(ModelDeclaration model)
Returns a simple file name for the model.
|
List<SheetFormat> |
getSheets()
Returns the format of each sheet.
|
org.apache.poi.ss.SpreadsheetVersion |
getVersion()
Returns the target spreadsheet version.
|
static WorkbookFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkbookFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkbookFormat DATA
public static final WorkbookFormat RULE
public static final WorkbookFormat INOUT
public static final WorkbookFormat INSPECT
public static final WorkbookFormat ALL
public static final WorkbookFormat DATAX
public static final WorkbookFormat RULEX
public static final WorkbookFormat INOUTX
public static final WorkbookFormat INSPECTX
public static final WorkbookFormat ALLX
public static WorkbookFormat[] values()
for (WorkbookFormat c : WorkbookFormat.values()) System.out.println(c);
public static WorkbookFormat 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 org.apache.poi.ss.SpreadsheetVersion getVersion()
public List<SheetFormat> getSheets()
public String getFileName(ModelDeclaration model)
model
- target modelIllegalArgumentException
- if some parameters were null
public static WorkbookFormat findByName(String format)
format
- the namenull
if not existsIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.