com.poiji.save.OutputStreamWorkbookSaver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of poiji2 Show documentation
Show all versions of poiji2 Show documentation
Perfect annotation based library to read and write excel files
package com.poiji.save;
import com.poiji.option.PoijiOptions;
import java.io.OutputStream;
import java.util.Collection;
import java.util.stream.Stream;
import org.apache.poi.ss.usermodel.Workbook;
public class OutputStreamWorkbookSaver extends AbstractWorkbookSaver implements WorkbookSaver{
private final OutputStream outputStream;
public OutputStreamWorkbookSaver(
final OutputStream outputStream, final MappedFields mappedFields, final PoijiOptions options
) {
super(mappedFields, options);
this.outputStream = outputStream;
}
@Override
public void save(final Stream data, final Workbook workbook) {
super.save(data, workbook, outputStream);
}
@Override
public void save(final Collection data, final Workbook workbook) {
super.save(data, workbook, outputStream);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy