| java.lang.Object org.pentaho.util.ManifestUtil
ManifestUtil | public class ManifestUtil (Code) | | Set of utility methods related to the manifest file.
NOTE: if the manifest file can not be retrieved, these methods will not work
and will return null . The most common case for this is the the
code is being run outside of a jar file.
author: dkincade |
Method Summary | |
public static Manifest | getManifest() Retrieves the manifest information for the jar file which contains
this utility class. | public static Manifest | getManifest(Class clazz) Retrieves the manifest information for the jar file which contains
the specified class. |
getManifest | public static Manifest getManifest()(Code) | | Retrieves the manifest information for the jar file which contains
this utility class.
The Manifest file for the jar file which contains this utility class,or null if the code is not in a jar file. |
getManifest | public static Manifest getManifest(Class clazz)(Code) | | Retrieves the manifest information for the jar file which contains
the specified class.
The Manifest file for the jar file which contains the specified class,or null if the code is not in a jar file. |
|
|