junkutil.crypt
クラス ZipDecryptInputStream
java.lang.Object
java.io.InputStream
junkutil.crypt.ZipDecryptInputStream
- すべての実装されたインタフェース:
- java.io.Closeable
public class ZipDecryptInputStream
- extends java.io.InputStream
パスワード付きZIPファイルを解凍する。
日本語パスワードに対応。しかし日本語ファイルには未対応。
- 作成者:
- shiota
コンストラクタの概要 |
ZipDecryptInputStream(java.io.InputStream stream,
java.lang.String password,
java.lang.String encoding)
|
メソッドの概要 |
void |
close()
|
static void |
main(java.lang.String[] args)
使い方 |
int |
read()
|
クラス java.io.InputStream から継承されたメソッド |
available, mark, markSupported, read, read, reset, skip |
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZipDecryptInputStream
public ZipDecryptInputStream(java.io.InputStream stream,
java.lang.String password,
java.lang.String encoding)
read
public int read()
throws java.io.IOException
- 定義:
- クラス
java.io.InputStream
内の read
- 例外:
java.io.IOException
close
public void close()
throws java.io.IOException
- 定義:
- インタフェース
java.io.Closeable
内の close
- オーバーライド:
- クラス
java.io.InputStream
内の close
- 例外:
java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- 使い方
- パラメータ:
args
-
- 例外:
java.lang.Exception