public class

Manifest

extends Object
java.lang.Object
   ↳ sun.tools.jar.Manifest

Class Overview

This is OBSOLETE. DO NOT USE THIS. Use java.util.jar.Manifest instead. It has to stay here because some apps (namely HJ and HJV) call directly into it.

Summary

Public Constructors
Manifest()
Manifest(byte[] bytes)
Manifest(InputStream is)
Manifest(InputStream is, boolean compute)
Parse a manifest from a stream, optionally computing hashes for the files.
Manifest(String[] files)
Public Methods
void addEntry(MessageHeader entry)
void addFile(File f)
void addFiles(File dir, String[] files)
void doHashes(MessageHeader mh)
Enumeration entries()
MessageHeader entryAt(int i)
MessageHeader getEntry(String name)
static boolean isManifestName(String name)
void stream(OutputStream os)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Manifest ()

public Manifest (byte[] bytes)

Throws
IOException

public Manifest (InputStream is)

Throws
IOException

public Manifest (InputStream is, boolean compute)

Parse a manifest from a stream, optionally computing hashes for the files.

Throws
IOException

public Manifest (String[] files)

Throws
IOException

Public Methods

public void addEntry (MessageHeader entry)

public void addFile (File f)

Throws
IOException

public void addFiles (File dir, String[] files)

Throws
IOException

public void doHashes (MessageHeader mh)

Throws
IOException

public Enumeration entries ()

public MessageHeader entryAt (int i)

public MessageHeader getEntry (String name)

public static boolean isManifestName (String name)

public void stream (OutputStream os)

Throws
IOException