net.y3n20u.aeszip
クラス AesZipOutputStream

java.lang.Object
  上位を拡張 java.io.OutputStream
      上位を拡張 java.io.FilterOutputStream
          上位を拡張 net.y3n20u.aeszip.AesZipOutputStream
すべての実装されたインタフェース:
Closeable, Flushable

public class AesZipOutputStream
extends FilterOutputStream

作成者:
y3n20u@gmail.com
関連項目:
BRG Main SIte, WinZip® - AES Encryption Information TODO: AE-1. FIXME: zero-length files should not be encrypted. FIXME: implement progress listener.

フィールドの概要
 
クラス java.io.FilterOutputStream から継承されたフィールド
out
 
コンストラクタの概要
AesZipOutputStream(OutputStream out)
           
 
メソッドの概要
 void close()
           
 void closeZipEntry()
           
 void putNextZipEntry(AesZipEntry nextEntry)
           
 void setZipFileComment(String comment)
          Set the comment for this zip file.
 void write(byte[] b, int off, int len)
           
 
クラス java.io.FilterOutputStream から継承されたメソッド
flush, write, write
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

AesZipOutputStream

public AesZipOutputStream(OutputStream out)
メソッドの詳細

write

public void write(byte[] b,
                  int off,
                  int len)
           throws IOException
オーバーライド:
クラス FilterOutputStream 内の write
例外:
IOException

setZipFileComment

public void setZipFileComment(String comment)
Set the comment for this zip file. The length of the comment must be smaller than 65536 (because the field for comment-length is two-byte).

パラメータ:
comment - comment for this zip file.
例外:
IllegalArgumentException - the comment is too long.

putNextZipEntry

public void putNextZipEntry(AesZipEntry nextEntry)
                     throws IOException
例外:
IOException

close

public void close()
           throws IOException
定義:
インタフェース Closeable 内の close
オーバーライド:
クラス FilterOutputStream 内の close
例外:
IOException

closeZipEntry

public void closeZipEntry()
                   throws IOException
例外:
IOException