ProductDescriptorExtractor
instead@Singleton @Deprecated public class LicenseFileExtractor extends ProductDescriptorExtractor
BUILD_NUMBER, CORE_VERSION, EDITION, IMPLEMENTATION_VERSION, PRODUCT_DOMAIN, PROVIDER, PROVIDER_ADDRESS, PROVIDER_EMAIL, VERSION_NUMBER
Constructor and Description |
---|
LicenseFileExtractor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
get(String id)
Deprecated.
|
Map<String,String> |
getEntries()
Deprecated.
|
static LicenseFileExtractor |
getInstance()
Deprecated.
|
String |
getOSName()
Deprecated.
|
String |
getVersionFromManifest()
Deprecated.
Returns the current magnolia version, read from the jar Manifest.
|
void |
init()
Deprecated.
|
void |
init(InputStream in)
Deprecated.
|
void |
printVersionInfo()
Deprecated.
Print version info to System.out.
|
getCoreVersion
public static LicenseFileExtractor getInstance()
public String get(String id)
get
in class ProductDescriptorExtractor
public Map<String,String> getEntries()
getEntries
in class ProductDescriptorExtractor
public String getOSName()
getOSName
in class ProductDescriptorExtractor
public void init()
init
in class ProductDescriptorExtractor
public void init(InputStream in)
init
in class ProductDescriptorExtractor
public String getVersionFromManifest()
getVersionFromManifest
in class ProductDescriptorExtractor
public void printVersionInfo()
printVersionInfo
in class ProductDescriptorExtractor
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.