public class ManifestUtil extends Object
null
.
The most common case for this is the the code is being run outside of a jar file.Constructor and Description |
---|
ManifestUtil() |
Modifier and Type | Method and Description |
---|---|
static Manifest |
getManifest()
Retrieves the manifest information for the jar file which contains this utility class.
|
static Manifest |
getManifest(Class clazz)
Retrieves the manifest information for the jar file which contains the specified class.
|
public static Manifest getManifest()
null
if the code
is not in a jar file.Copyright © 2017 Hitachi Vantara. All rights reserved.