com.github.skjolber.unzip.FileZipFileFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unzip-csv Show documentation
Show all versions of unzip-csv Show documentation
Project for unzipping CSV files
package com.github.skjolber.unzip;
import java.io.File;
import java.io.IOException;
import org.apache.commons.compress.archivers.zip.ZipFile;
public class FileZipFileFactory implements ZipFileSource {
protected File file;
public FileZipFileFactory(File file) {
this.file = file;
}
public ZipFile getZipFile() throws IOException {
return new ZipFile(file);
}
}