public class WorkbookMetaData extends Object
| Constructor and Description |
|---|
WorkbookMetaData() |
| Modifier and Type | Method and Description |
|---|---|
<COL extends TemplateColumn> |
getWorksheetDef(TemplateWorksheet ws) |
Collection<WorksheetDef<? extends TemplateColumn>> |
getWorksheetDefs() |
void |
validate()
Validates this
WorksheetDef. |
public void validate()
throws TemplateMismatchException
WorksheetDef. Unrecoverable mismatches from template will throw an exception.TemplateMismatchException - when the metadata does not match the expected template in an unrecoverable way. The exception holds
all encountered mismatches.public <COL extends TemplateColumn> WorksheetDef<COL> getWorksheetDef(TemplateWorksheet ws)
ws - the ws template for which we want the ws def.WorksheetDef matching the given ws template or nullpublic Collection<WorksheetDef<? extends TemplateColumn>> getWorksheetDefs()
Copyright © 2010–2017 Henix, henix.fr. All rights reserved.