|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.util.jar.Manifest
Manifest クラスは、Manifest のエントリ名と、それに関連付けれられた Attributes を管理するために使います。エントリごとの Attributes の他に、メインとなる Manifest Attributes があります。
Attributes
コンストラクタの概要 | |
Manifest()
新しい空の Manifest を作成します。 |
|
Manifest(InputStream is)
指定された入力ストリームから新しい Manifest を作成します。 |
|
Manifest(Manifest man)
指定された Manifest のコピーである新しい Manifest を作成します。 |
メソッドの概要 | |
void |
clear()
この Manifest のメインとなる Attributes とエントリをクリアします。 |
Object |
clone()
この Manifest のシャローコピーを返します。 |
boolean |
equals(Object o)
指定された Object が Manifest でもあり、そのメインとなる Attributes およびエントリが等しい場合に true を返します。 |
Attributes |
getAttributes(String name)
指定されたエントリ名の Attributes を返します。 |
Map |
getEntries()
この Manifest に格納されているエントリの Map を返します。 |
Attributes |
getMainAttributes()
Manifest のメインとなる Attributes を返します。 |
int |
hashCode()
この Manifest のハッシュコードを返します。 |
void |
read(InputStream is)
指定された InputStream から Manifest を読み取ります。 |
void |
write(OutputStream out)
指定された OutputStream に Manifest を書き込みます。 |
クラス java.lang.Object から継承したメソッド |
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
コンストラクタの詳細 |
public Manifest()
public Manifest(InputStream is) throws IOException
is
- マニフェストデータを含む入力ストリームpublic Manifest(Manifest man)
man
- コピーする Manifestメソッドの詳細 |
public Attributes getMainAttributes()
public Map getEntries()
public Attributes getAttributes(String name)
return (Attributes)getEntries().get(name)
public void clear()
public void write(OutputStream out) throws IOException
out
- 出力ストリームpublic void read(InputStream is) throws IOException
is
- 入力ストリームpublic boolean equals(Object o)
o
- 比較対象のオブジェクトpublic int hashCode()
public Object clone()
public Object clone() { return new Manifest(this); }
|
Java プラットフォーム 1.2 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |