net.y3n20u.aeszip
クラス AesZipDecrypter
java.lang.Object
net.y3n20u.aeszip.AesZipDecrypter
public class AesZipDecrypter
- extends Object
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AesZipDecrypter
public AesZipDecrypter(File sourceFile)
throws ZipException,
IOException
- 例外:
ZipException
IOException
getEntryNames
public Set<String> getEntryNames()
getEntry
public AesZipEntry getEntry(String entryName)
decryptAndExtractAllFiles
public void decryptAndExtractAllFiles(File destinationBaseDirectory,
String password)
throws IOException,
PasswordNotCorrectException
- 例外:
IOException
PasswordNotCorrectException
decryptAndExtractFiles
public void decryptAndExtractFiles(String[] entryNames,
File destinationBaseDirectory,
String password)
throws IOException,
PasswordNotCorrectException
- 例外:
IOException
PasswordNotCorrectException
decryptAndExtract
public void decryptAndExtract(String entryName,
File destinationBaseDirectory,
String password)
throws IOException,
PasswordNotCorrectException
- Decrypt and extract a file to the specified directory.
If the
destinationBaseDirectory
does not exist, this method will create the directory.
- パラメータ:
entryName
- destinationBaseDirectory
- destination directory.password
-
- 例外:
IOException
PasswordNotCorrectException
decryptAndExtract
public void decryptAndExtract(String entryName,
OutputStream destinationStream,
String password)
throws IOException,
PasswordNotCorrectException
- 例外:
IOException
PasswordNotCorrectException
setPasswordCharset
public void setPasswordCharset(Charset charset)
setFileNameCharset
public void setFileNameCharset(Charset charset)
setCommentCharset
public void setCommentCharset(Charset charset)
setProgressListener
public void setProgressListener(ArchiveProgressListener progressListener)