All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.kunalk16.excel.model.factory.ExcelArchiveFiles Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
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