Package com.peterphi.std.util
Class ClassManifestLocator
java.lang.Object
com.peterphi.std.util.ClassManifestLocator
Retrieve the MANIFEST.MF properties for the jar/war containing a particular class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyFile
Attempt to find the MANIFEST.MF associated with a particular class
-
Constructor Details
-
ClassManifestLocator
public ClassManifestLocator()
-
-
Method Details
-
get
Attempt to find the MANIFEST.MF associated with a particular class- Parameters:
clazz
- The class whose jar/war should be searched for a MANIFEST.MF- Returns:
- a PropertyFile version of the main manifest attributes if found, otherwise null
-