API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.jar. Manifest View Source
Author(s)
David Connelly
Since
1.2
Version
1.50, 04/21/06
Serial
Hierarchy
 Object
      Manifest
Implements
 Cloneable
Subclasses
Description
public class Manifest
  The Manifest class is used to maintain Manifest entry names and their associated Attributes.
See also:    Attributes
Constructors
public Manifest ()
Constructs a new, empty Manifest.
public Manifest (InputStream is) throws IOException
  Constructs a new Manifest from the specified input stream.
public Manifest (Manifest man)
  Constructs a new Manifest that is a copy of the specified Manifest.
Methods
Hide/Show inherited methods
public void clear ()
Clears the main Attributes as well as the entries in this Manifest.
public Object clone ()
  Returns a shallow copy of this Manifest.
public boolean equals (Object o)
  Returns true if the specified Object is also a Manifest and has the same main Attributes and entries.
public Attributes getAttributes (String name)
  Returns the Attributes for the specified entry name.
public Map<String, Attributes> getEntries ()
  Returns a Map of the entries contained in this Manifest.
public Attributes getMainAttributes ()
  Returns the main Attributes for the Manifest.
public int hashCode ()
Returns the hash code for this Manifest.
pack-privatestatic void make72Safe (StringBuffer line)
Adds line breaks to enforce a maximum 72 bytes per line.
public void read (InputStream is) throws IOException
  Reads the Manifest from the specified InputStream.
public void write (OutputStream out) throws IOException
  Writes the Manifest to the specified OutputStream.
Fields
Hide/Show inherited fields
Nested Classes
  Manifest.FastInputStream
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar