com.github.kunalk16.excel.factory.XMLDataFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lightExcelReader Show documentation
Show all versions of lightExcelReader Show documentation
A lightweight Java framework to read .xlsx excel files.
package com.github.kunalk16.excel.factory;
import com.github.kunalk16.excel.factory.builder.ExcelXMLDataBuilder;
import com.github.kunalk16.excel.model.factory.ExcelArchiveFiles;
import com.github.kunalk16.excel.model.factory.ExcelXMLData;
class XMLDataFactory {
static ExcelXMLData create(ExcelArchiveFiles excelArchiveFiles) {
return new ExcelXMLDataBuilder()
.withExcelZipFile(excelArchiveFiles.getExcelZipFile())
.withSharedStringsEntry(excelArchiveFiles.getSharedStringsFile())
.withWorkBookEntry(excelArchiveFiles.getWorkBookFile())
.withSheetsEntry(excelArchiveFiles.getSheetFiles())
.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy