git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894263 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-10-14 19:14:41 +00:00
parent bdd6f09275
commit 9bd8215fa3
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ public final class ZipPackage extends OPCPackage {
}
/**
* @param encryptTempFiles whether to encrypt temp files
* @param encryptTempFiles whether to encrypt package part temp files
*/
public static void setEncryptTempFilePackageParts(boolean encryptTempFiles) {
encryptTempFilePackageParts = encryptTempFiles;

View File

@ -41,7 +41,7 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource {
private InputStream streamToClose;
/**
* Set the threshold at which it a zip entry is regarded as too large for holding in memory
* Set the threshold at which a zip entry is regarded as too large for holding in memory
* and the data is put in a temp file instead
* @param thresholdBytes number of bytes at which a zip entry is regarded as too large for holding in memory
* and the data is put in a temp file instead - defaults to -1 meaning temp files are not used
@ -75,7 +75,7 @@ public class ZipInputStreamZipEntrySource implements ZipEntrySource {
}
/**
* Whether temp files should be encrypted. Only affects temp files related to zip entries.
* Whether temp files should be encrypted (default false). Only affects temp files related to zip entries.
* @since POI 5.1.0
*/
public static boolean shouldEncryptTempFiles() {