Package ru.bgcrm.plugin.document.docgen
Class XlsxDocBuilder
java.lang.Object
ru.bgcrm.plugin.document.docgen.XlsxDocBuilder
- All Implemented Interfaces:
AutoCloseable,DocBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.apache.poi.xssf.usermodel.XSSFSheet@NotNull StringgetNotEmptyString(String string) voidwriteValues(List<ru.ufanet.document.DocObject> docObjects, OutputStream out)
-
Constructor Details
-
XlsxDocBuilder
-
-
Method Details
-
getFieldNames
- Specified by:
getFieldNamesin interfaceDocBuilder- Throws:
BGException
-
writeValues
public void writeValues(List<ru.ufanet.document.DocObject> docObjects, OutputStream out) throws BGException - Specified by:
writeValuesin interfaceDocBuilder- Throws:
BGException
-
getFirstSheet
public org.apache.poi.xssf.usermodel.XSSFSheet getFirstSheet() -
getNotEmptyString
-
getFieldsFromXls
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-