aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java b/src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
index e3907a9807..9c53c4ee0b 100644
--- a/src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
+++ b/src/examples/src/org/apache/poi/examples/xssf/streaming/DeferredGeneration.java
@@ -25,6 +25,11 @@ import org.apache.poi.xssf.streaming.DeferredSXSSFWorkbook;
import java.io.FileOutputStream;
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 static void main(String[] args) throws IOException {