jp.hishidama.zip
クラス ZipEntry
java.lang.Object
java.util.zip.ZipEntry
jp.hishidama.zip.ZipEntry
- すべての実装されたインタフェース:
- Cloneable
public class ZipEntry
- extends ZipEntry
Zipファイル内のエントリーを表すクラス.
Info-ZIPのzipcloakとApache
AntのZipEntryを参考に作ったクラスです。
- 導入されたバージョン:
- 2007.12.21
- バージョン:
- 2009.12.20
- 作成者:
- ひしだま
クラス java.util.zip.ZipEntry から継承されたメソッド |
clone, getCompressedSize, getCrc, getExtra, getMethod, getSize, getTime, hashCode, setCompressedSize, setCrc, setExtra, setMethod, setSize, setTime, toString |
LOCSIG
public static final long LOCSIG
- 関連項目:
- 定数フィールド値
EXTSIG
public static final long EXTSIG
- 関連項目:
- 定数フィールド値
CENSIG
public static final long CENSIG
- 関連項目:
- 定数フィールド値
ENDSIG
public static final long ENDSIG
- 関連項目:
- 定数フィールド値
LOCHDR
public static final int LOCHDR
- 関連項目:
- 定数フィールド値
EXTHDR
public static final int EXTHDR
- 関連項目:
- 定数フィールド値
CENHDR
public static final int CENHDR
- 関連項目:
- 定数フィールド値
ENDHDR
public static final int ENDHDR
- 関連項目:
- 定数フィールド値
LOCVER
public static final int LOCVER
- 関連項目:
- 定数フィールド値
LOCFLG
public static final int LOCFLG
- 関連項目:
- 定数フィールド値
LOCHOW
public static final int LOCHOW
- 関連項目:
- 定数フィールド値
LOCTIM
public static final int LOCTIM
- 関連項目:
- 定数フィールド値
LOCCRC
public static final int LOCCRC
- 関連項目:
- 定数フィールド値
LOCSIZ
public static final int LOCSIZ
- 関連項目:
- 定数フィールド値
LOCLEN
public static final int LOCLEN
- 関連項目:
- 定数フィールド値
LOCNAM
public static final int LOCNAM
- 関連項目:
- 定数フィールド値
LOCEXT
public static final int LOCEXT
- 関連項目:
- 定数フィールド値
EXTCRC
public static final int EXTCRC
- 関連項目:
- 定数フィールド値
EXTSIZ
public static final int EXTSIZ
- 関連項目:
- 定数フィールド値
EXTLEN
public static final int EXTLEN
- 関連項目:
- 定数フィールド値
CENVEM
public static final int CENVEM
- 関連項目:
- 定数フィールド値
CENVER
public static final int CENVER
- 関連項目:
- 定数フィールド値
CENFLG
public static final int CENFLG
- 関連項目:
- 定数フィールド値
CENHOW
public static final int CENHOW
- 関連項目:
- 定数フィールド値
CENTIM
public static final int CENTIM
- 関連項目:
- 定数フィールド値
CENCRC
public static final int CENCRC
- 関連項目:
- 定数フィールド値
CENSIZ
public static final int CENSIZ
- 関連項目:
- 定数フィールド値
CENLEN
public static final int CENLEN
- 関連項目:
- 定数フィールド値
CENNAM
public static final int CENNAM
- 関連項目:
- 定数フィールド値
CENEXT
public static final int CENEXT
- 関連項目:
- 定数フィールド値
CENCOM
public static final int CENCOM
- 関連項目:
- 定数フィールド値
CENDSK
public static final int CENDSK
- 関連項目:
- 定数フィールド値
CENATT
public static final int CENATT
- 関連項目:
- 定数フィールド値
CENATX
public static final int CENATX
- 関連項目:
- 定数フィールド値
CENOFF
public static final int CENOFF
- 関連項目:
- 定数フィールド値
ENDSUB
public static final int ENDSUB
- 関連項目:
- 定数フィールド値
ENDTOT
public static final int ENDTOT
- 関連項目:
- 定数フィールド値
ENDSIZ
public static final int ENDSIZ
- 関連項目:
- 定数フィールド値
ENDOFF
public static final int ENDOFF
- 関連項目:
- 定数フィールド値
ENDCOM
public static final int ENDCOM
- 関連項目:
- 定数フィールド値
ZipEntry
public ZipEntry(String name)
- コンストラクター.
- パラメータ:
name
- エントリー名
ZipEntry
public ZipEntry(ZipEntry entry)
- コンストラクター.
- パラメータ:
entry
- java.util.zip.ZipEntry
getName
public String getName()
- オーバーライド:
- クラス
ZipEntry
内の getName
isEncrypted
public boolean isEncrypted()
- 暗号化されているかどうか.
当メソッドが返す値は、当インスタンスをZipFile
から取得した場合だけ有効。
- 戻り値:
- パスワード付きの場合、true
getInternalAttributes
public int getInternalAttributes()
setInternalAttributes
public void setInternalAttributes(int value)
getExternalAttributes
public long getExternalAttributes()
setExternalAttributes
public void setExternalAttributes(long value)
setUnixMode
public void setUnixMode(int mode)
getUnixMode
public int getUnixMode()
getPlatform
public int getPlatform()
setComment
public void setComment(String comment)
- オーバーライド:
- クラス
ZipEntry
内の setComment
getComment
public String getComment()
- オーバーライド:
- クラス
ZipEntry
内の getComment
getLocalFileDataExtra
public byte[] getLocalFileDataExtra()
setCentralDirectoryExtra
public void setCentralDirectoryExtra(byte[] extra)
getCentralDirectoryExtra
public byte[] getCentralDirectoryExtra()
isDirectory
public boolean isDirectory()
- オーバーライド:
- クラス
ZipEntry
内の isDirectory