com.github.kunalk16.excel.model.factory.ExcelArchiveFiles 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.model.factory;
import java.io.Closeable;
import java.io.IOException;
import java.util.Collections;
import java.util.List;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
public class ExcelArchiveFiles implements Closeable {
private final ZipFile excelZipFile;
private final ZipEntry workBookFile;
private final ZipEntry sharedStringsFile;
private final List sheetFiles;
public ExcelArchiveFiles(ZipFile excelZipFile, ZipEntry workBookFile, ZipEntry sharedStringsFile, List sheetFiles) {
this.excelZipFile = excelZipFile;
this.workBookFile = workBookFile;
this.sharedStringsFile = sharedStringsFile;
this.sheetFiles = sheetFiles;
}
public ZipEntry getWorkBookFile() {
return this.workBookFile;
}
public ZipEntry getSharedStringsFile() {
return this.sharedStringsFile;
}
public List getSheetFiles() {
return Collections.unmodifiableList(this.sheetFiles);
}
public ZipFile getExcelZipFile() {
return this.excelZipFile;
}
@Override
public void close() throws IOException {
this.excelZipFile.close();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy