com.sun.pkg.client
Class Manifest
java.lang.Object
com.sun.pkg.client.Manifest
public class Manifest
- extends java.lang.Object
A Manifest is a list of actions within a package.
- Author:
- trm
|
Method Summary |
java.lang.String |
getAttribute(java.lang.String name)
Returns a package attribute defined by a set action. |
int |
getPackageSize()
Returns the size of the package. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Manifest
public Manifest(Image img,
Fmri pi)
throws java.io.IOException
- Throws:
java.io.IOException
getAttribute
public java.lang.String getAttribute(java.lang.String name)
- Returns a package attribute defined by a set action.
- Returns:
- a package attribute for the given name, or null if there is no
such attribute
getPackageSize
public int getPackageSize()
- Returns the size of the package.
The size of the package is defined as the sum of the pkg.size attributes
of the actions within the Manifest.
- Returns:
- the size of the package