mirror of https://github.com/apache/poi.git
[bug-65613] experimental SXSSF writeAvoidingTempFiles
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893899 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f05ae0c2c5
commit
c167c13df9
|
@ -53,9 +53,12 @@ public class DeferredGeneration {
|
|||
|
||||
try (FileOutputStream fileOut = new FileOutputStream("DeferredGeneration.xlsx")) {
|
||||
wb.write(fileOut);
|
||||
//writeAvoidingTempFiles was added as an experimental change in POI 5.1.0
|
||||
//wb.writeAvoidingTempFiles(fileOut);
|
||||
} finally {
|
||||
wb.dispose();
|
||||
}
|
||||
System.out.println("wrote DeferredGeneration.xlsx");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue