Constructor and Description |
---|
ZipParameters() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
int |
getAesKeyStrength() |
int |
getCompressionLevel() |
int |
getCompressionMethod() |
String |
getDefaultFolderPath() |
int |
getEncryptionMethod() |
String |
getFileNameInZip() |
char[] |
getPassword() |
String |
getRootFolderInZip() |
int |
getSourceFileCRC() |
TimeZone |
getTimeZone() |
boolean |
isEncryptFiles() |
boolean |
isIncludeRootFolder() |
boolean |
isReadHiddenFiles() |
boolean |
isSourceExternalStream() |
void |
setAesKeyStrength(int aesKeyStrength) |
void |
setCompressionLevel(int compressionLevel) |
void |
setCompressionMethod(int compressionMethod) |
void |
setDefaultFolderPath(String defaultFolderPath) |
void |
setEncryptFiles(boolean encryptFiles) |
void |
setEncryptionMethod(int encryptionMethod) |
void |
setFileNameInZip(String fileNameInZip) |
void |
setIncludeRootFolder(boolean includeRootFolder) |
void |
setPassword(char[] password) |
void |
setPassword(String password)
Sets the password for the zip file or the file being added
Note: For security reasons, usage of this method is discouraged. |
void |
setReadHiddenFiles(boolean readHiddenFiles) |
void |
setRootFolderInZip(String rootFolderInZip) |
void |
setSourceExternalStream(boolean isSourceExternalStream) |
void |
setSourceFileCRC(int sourceFileCRC) |
void |
setTimeZone(TimeZone timeZone) |
public int getCompressionMethod()
public void setCompressionMethod(int compressionMethod)
public boolean isEncryptFiles()
public void setEncryptFiles(boolean encryptFiles)
public int getEncryptionMethod()
public void setEncryptionMethod(int encryptionMethod)
public int getCompressionLevel()
public void setCompressionLevel(int compressionLevel)
public boolean isReadHiddenFiles()
public void setReadHiddenFiles(boolean readHiddenFiles)
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public char[] getPassword()
public void setPassword(String password)
password
- public void setPassword(char[] password)
public int getAesKeyStrength()
public void setAesKeyStrength(int aesKeyStrength)
public boolean isIncludeRootFolder()
public void setIncludeRootFolder(boolean includeRootFolder)
public String getRootFolderInZip()
public void setRootFolderInZip(String rootFolderInZip)
public TimeZone getTimeZone()
public void setTimeZone(TimeZone timeZone)
public int getSourceFileCRC()
public void setSourceFileCRC(int sourceFileCRC)
public String getDefaultFolderPath()
public void setDefaultFolderPath(String defaultFolderPath)
public String getFileNameInZip()
public void setFileNameInZip(String fileNameInZip)
public boolean isSourceExternalStream()
public void setSourceExternalStream(boolean isSourceExternalStream)
Copyright © 2013. All rights reserved.