public interface ExcelWorkbookService
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(Workbook workbook,
java.lang.String key,
java.lang.String value)
Adds property to given workbook
|
Workbook |
createWorkbook(java.io.InputStream inputStream)
Creates workbook object based on inputStream of excel file.
|
Sheet |
getMetaInformationSheet(Workbook workbook)
Returns sheet which contains metadata about type system
|
java.util.Optional<java.lang.String> |
getProperty(Workbook worbook,
java.lang.String key)
Retrieves property from given workbook
|
java.util.Collection<CTProperty> |
getUnderlyingProperties(Workbook workbook)
Retrieves underlying properties
|
Workbook createWorkbook(java.io.InputStream inputStream)
inputStream - Input stream of excel fileWorkbook object which represents excel fileSheet getMetaInformationSheet(Workbook workbook)
workbook - Workbook object which represents excel fileSheet which contains information about type systemvoid addProperty(Workbook workbook,
java.lang.String key,
java.lang.String value)
workbook - workbook which should be decorated by propertykey - key of propertyvalue - value of propertyjava.util.Optional<java.lang.String> getProperty(Workbook worbook,
java.lang.String key)
worbook - the source of the propertieskey - key of the propertyjava.util.Collection<CTProperty> getUnderlyingProperties(Workbook workbook)
workbook - the source of the propertiesCopyright © 2018 SAP SE. All Rights Reserved.