public class SheetEditor extends Object
Constructor and Description |
---|
SheetEditor(org.apache.poi.ss.usermodel.Workbook workbook)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addData(String name,
ModelDeclaration model)
Creates a data sheet with specified name.
|
void |
addRule(String name,
ModelDeclaration model)
Creates a rule sheet with specified name.
|
void |
copy(String oldName,
String newName)
Creates a clone of the specified sheet.
|
public SheetEditor(org.apache.poi.ss.usermodel.Workbook workbook)
workbook
- the target workbookpublic void addData(String name, ModelDeclaration model)
name
- sheet namemodel
- the target modelIllegalArgumentException
- if some parameters were null
public void addRule(String name, ModelDeclaration model)
name
- sheet namemodel
- the target modelIllegalArgumentException
- if some parameters were null
public void copy(String oldName, String newName)
oldName
- the name of original sheetnewName
- the created sheet nameIllegalArgumentException
- if some parameters were null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.