mirror of https://github.com/apache/poi.git
add DeferredGeneration sample
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887250 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3c7aa4dcf
commit
78452956ce
|
@ -25,6 +25,11 @@ import org.apache.poi.xssf.streaming.DeferredSXSSFWorkbook;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This sample demonstrates how to use DeferredSXSSFWorkbook to generate workbooks in a streaming way.
|
||||||
|
* This approach avoids the use of temporary files and can be used to output to streams like
|
||||||
|
* HTTP response streams.
|
||||||
|
*/
|
||||||
public class DeferredGeneration {
|
public class DeferredGeneration {
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException {
|
public static void main(String[] args) throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue