public class ManifestAccess extends Object
Constructor and Description |
---|
ManifestAccess() |
Modifier and Type | Method and Description |
---|---|
static String |
getAppTitleFromManifest(Class<?> appclass)
Retrieve the application title from the packaged Manifest file for a specific
class.
|
static String |
getVersionFromManifest(Class<?> appclass)
Retrieve the application version from the packaged Manifest file for a
specific class.
|
public static String getAppTitleFromManifest(Class<?> appclass)
appclass
- The class to get the application title for.String
representation of this project's title as set in Maven
POM properties in Manifest file or null
if not found.public static String getVersionFromManifest(Class<?> appclass)
appclass
- The class to get the version for.String
representation of this project's version as set in
Maven POM properties in Manifest file or null
if not
found.Copyright © 2020. All rights reserved.