[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:
PJ Fanning 2021-10-04 21:55:39 +00:00
parent f05ae0c2c5
commit c167c13df9
1 changed files with 3 additions and 0 deletions

View File

@ -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");
}
}
}