public class CmnManifest extends Object
コンストラクタと説明 |
---|
CmnManifest(Class<?> cls)
指定された Class が格納されているJarファイルで初期化します
|
CmnManifest(File file)
指定されたファイルで初期化します
|
修飾子とタイプ | メソッドと説明 |
---|---|
Attributes |
getAttributes(String key)
指定されたエントリ名の Attributes を返します。
|
String |
getTitle()
タイトル名を取得します。
|
String |
getTitle(String key)
指定されたエントリ名からタイトル名を取得します。
|
String |
getVendor()
ベンダ名を取得します。
|
String |
getVendor(String key)
指定されたエントリ名からベンダ名を取得します。
|
String |
getVersion()
バージョンを取得します。
|
String |
getVersion(String key)
指定されたエントリ名からバージョンを取得します。
|
public CmnManifest(Class<?> cls) throws Exception
cls
- 検索するClassException
public String getTitle() throws IOException
IOException
public String getVersion() throws IOException
IOException
public String getVendor() throws IOException
IOException
public Attributes getAttributes(String key) throws IOException
key
- エントリ名IOException
public String getTitle(String key) throws IOException
key
- エントリ名IOException
public String getVersion(String key) throws IOException
key
- エントリ名IOException
public String getVendor(String key) throws IOException
key
- エントリ名IOException
Copyright © 2021 S.D.S Co.,Ltd.. All rights reserved.