net.y3n20u.aeszip
クラス AesZipDecrypter

java.lang.Object
  上位を拡張 net.y3n20u.aeszip.AesZipDecrypter

public class AesZipDecrypter
extends Object


コンストラクタの概要
AesZipDecrypter(File sourceFile)
           
 
メソッドの概要
 void decryptAndExtract(String entryName, File destinationBaseDirectory, String password)
          Decrypt and extract a file to the specified directory.
 void decryptAndExtract(String entryName, OutputStream destinationStream, String password)
           
 void decryptAndExtractAllFiles(File destinationBaseDirectory, String password)
           
 void decryptAndExtractFiles(String[] entryNames, File destinationBaseDirectory, String password)
           
 AesZipEntry getEntry(String entryName)
           
 Set<String> getEntryNames()
           
 void setCommentCharset(Charset charset)
           
 void setFileNameCharset(Charset charset)
           
 void setPasswordCharset(Charset charset)
           
 void setProgressListener(ArchiveProgressListener progressListener)
           
 
クラス 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)