Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



This
class represents the manifest entry of a JAR file.
getMainAttributes( ) returns an
Attributes object that represents the manifest
attributes that apply to the entire JAR file. getAttributes(
)
returns an Attributes object that
represents the manifest attributes specified for a single file in the
JAR file. getEntries( ) returns a
java.util.Map that maps the names of entries in
the JAR file to the Attributes objects associated
with those entries. getEnTRies( ) returns the
Map object used internally by the
Manifest. You can edit the contents of the
Manifest by adding, deleting, or editing entries
in the Map. read( ) reads
manifest entries from an input stream, merging them into the current
set of entries. write( ) writes the
Manifest out to the specified output stream.


Figure 16-113. java.util.jar.Manifest

public class 

Manifest implements Cloneable {
// Public Constructors
public

Manifest ( );
public

Manifest (Manifest

man );
public

Manifest (java.io.InputStream

is ) throws java.io.IOException;
// Public Instance Methods
public void

clear ( );
public java.util.jar.Attributes

getAttributes (String

name );
public java.util.Map<String,java.util.jar.Attributes>

getEntries ( ); default:HashMap
public java.util.jar.Attributes

getMainAttributes ( );
public void

read (java.io.InputStream

is ) throws java.io.IOException;
public void

write (java.io.OutputStream

out ) throws java.io.IOException;
// Public Methods Overriding Object
public Object

clone ( );
public boolean

equals (Object

o );
public int

hashCode ( );
}

Passed To


java.net.URLClassLoader.definePackage( ),

JarOutputStream.JarOutputStream( )

Returned By


java.net.JarURLConnection.getManifest( ),

JarFile.getManifest( ),
JarInputStream.getManifest( )

/ 1191