public class SheetBuilder extends Object
SheetEditor
Constructor and Description |
---|
SheetBuilder(org.apache.poi.ss.usermodel.Workbook workbook,
ModelDeclaration model)
Creates a new instance.
|
SheetBuilder(org.apache.poi.ss.usermodel.Workbook workbook,
org.apache.poi.ss.SpreadsheetVersion version,
ModelDeclaration model)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(String name)
Creates a data sheet with specified name.
|
void |
addRule(String name)
Creates a rule sheet with specified name.
|
public SheetBuilder(org.apache.poi.ss.usermodel.Workbook workbook, ModelDeclaration model)
workbook
- target workbook to build sheetsmodel
- target modelIllegalArgumentException
- if some parameters were null
public SheetBuilder(org.apache.poi.ss.usermodel.Workbook workbook, org.apache.poi.ss.SpreadsheetVersion version, ModelDeclaration model)
workbook
- target workbook to build sheetsversion
- the spreadsheet version of the target workbookmodel
- target modelIllegalArgumentException
- if some parameters were null
public void addData(String name)
name
- sheet nameIllegalArgumentException
- if some parameters were null
public void addRule(String name)
name
- sheet nameIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.