- java.lang.Object
-
- java.util.zip.ZipEntry
-
- java.util.jar.JarEntry
-
-
フィールドのサマリー
フィールド 修飾子と型 フィールド 説明 static intCENATTstatic intCENATXstatic intCENCOMstatic intCENCRCstatic intCENDSKstatic intCENEXTstatic intCENFLGstatic intCENHDRstatic intCENHOWstatic intCENLENstatic intCENNAMstatic intCENOFFstatic longCENSIGstatic intCENSIZstatic intCENTIMstatic intCENVEMstatic intCENVERstatic intENDCOMstatic intENDHDRstatic intENDOFFstatic longENDSIGstatic intENDSIZstatic intENDSUBstatic intENDTOTstatic intEXTCRCstatic intEXTHDRstatic intEXTLENstatic longEXTSIGstatic intEXTSIZstatic intLOCCRCstatic intLOCEXTstatic intLOCFLGstatic intLOCHDRstatic intLOCHOWstatic intLOCLENstatic intLOCNAMstatic longLOCSIGstatic intLOCSIZstatic intLOCTIMstatic intLOCVER
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 AttributesgetAttributes()このエントリのManifestAttributesを返します。属性がない場合はnullを返します。Certificate[]getCertificates()このエントリのCertificateオブジェクトを返します。オブジェクトがない場合はnullを返します。CodeSigner[]getCodeSigners()このエントリのCodeSignerオブジェクトを返します。オブジェクトがない場合はnullを返します。-
クラス java.util.zip.ZipEntryから継承されたメソッド
clone, getComment, getCompressedSize, getCrc, getCreationTime, getExtra, getLastAccessTime, getLastModifiedTime, getMethod, getName, getSize, getTime, getTimeLocal, hashCode, isDirectory, setComment, setCompressedSize, setCrc, setCreationTime, setExtra, setLastAccessTime, setLastModifiedTime, setMethod, setSize, setTime, setTimeLocal, 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
- 関連項目:
- 定数フィールド値
-
-
コンストラクタの詳細
-
JarEntry
public JarEntry(String name)
指定されたJARファイルのエントリ名に新しいJarEntryを作成します。- パラメータ:
name- JARファイルのエントリ名- 例外:
NullPointerException- エントリの名前がnullの場合。IllegalArgumentException- エントリの名前が0xFFFFバイトよりも長い場合。
-
JarEntry
public JarEntry(ZipEntry ze)
指定されたJarEntryオブジェクトから取り出したフィールドを持つ、新しいZipEntryを作成します。- パラメータ:
ze-JarEntryの作成元のZipEntryオブジェクト
-
JarEntry
public JarEntry(JarEntry je)
指定されたJarEntryオブジェクトから取り出したフィールドを持つ、新しいJarEntryを作成します。- パラメータ:
je- コピーするJarEntry
-
-
メソッドの詳細
-
getAttributes
public Attributes getAttributes() throws IOException
このエントリのManifestAttributesを返します。属性がない場合はnullを返します。- 戻り値:
ManifestAttributesを返します。属性がない場合はnullを返します- 例外:
IOException- 入出力エラーが発生した場合
-
getCertificates
public Certificate[] getCertificates()
このエントリのCertificateオブジェクトを返します。オブジェクトがない場合はnullを返します。 このメソッドは、エントリ入力ストリームを最後まで読みとって、JarEntryが完全に検証されない限り呼び出せません。 そうでない場合は、このメソッドはnullを返します。返される証明書の配列は、このエントリを証明するために使用されたすべての署名者証明書から構成されます。 各署名者証明書のあとにはそれをサポートする証明書チェーンが続きます(空である可能性もある)。 それぞれの署名者証明書およびその証明書がサポートする証明書チェーンは、下位から上位の順に並べられます(つまり、署名者の証明書が最初で、(ルートの)証明書発行局が最後)。
- 戻り値:
- このエントリの
Certificateオブジェクトを返します。オブジェクトがない場合はnullを返します。
-
getCodeSigners
public CodeSigner[] getCodeSigners()
このエントリのCodeSignerオブジェクトを返します。オブジェクトがない場合はnullを返します。 このメソッドは、エントリ入力ストリームを最後まで読みとって、JarEntryが完全に検証されない限り呼び出せません。 そうでない場合は、このメソッドはnullを返します。このエントリに署名したコード署名者すべてで構成される配列を返します。
- 戻り値:
- このエントリの
CodeSignerオブジェクトを返します。オブジェクトがない場合はnullを返します。 - 導入されたバージョン:
- 1.5
-
-