info.magnolia.cms.license
Class LicenseFileExtractor
java.lang.Object
info.magnolia.cms.license.LicenseFileExtractor
public class LicenseFileExtractor
- extends java.lang.Object
Extracts license information from the info/magnolia/cms/license/license.xml file.
- Version:
- 1.1
- Author:
- Sameer Charles
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_NUMBER
public static final java.lang.String VERSION_NUMBER
- See Also:
- Constant Field Values
IMPLEMENTATION_VERSION
public static final java.lang.String IMPLEMENTATION_VERSION
- Same as VERSION_NUMBER, but read from the manifest.
- See Also:
- Constant Field Values
BUILD_NUMBER
public static final java.lang.String BUILD_NUMBER
- See Also:
- Constant Field Values
PROVIDER
public static final java.lang.String PROVIDER
- See Also:
- Constant Field Values
PROVIDER_ADDRESS
public static final java.lang.String PROVIDER_ADDRESS
- See Also:
- Constant Field Values
PROVIDER_EMAIL
public static final java.lang.String PROVIDER_EMAIL
- See Also:
- Constant Field Values
EDITION
public static final java.lang.String EDITION
- See Also:
- Constant Field Values
PRODUCT_DOMAIN
public static final java.lang.String PRODUCT_DOMAIN
- See Also:
- Constant Field Values
LicenseFileExtractor
public LicenseFileExtractor()
getInstance
public static LicenseFileExtractor getInstance()
get
public java.lang.String get(java.lang.String id)
getEntries
public java.util.Map getEntries()
getOSName
public java.lang.String getOSName()
init
public void init()
init
public void init(java.io.InputStream in)
getVersionFromManifest
public java.lang.String getVersionFromManifest()
- Returns the current magnolia version, read from the jar Manifest. This will return null if classes are not inside
a jar.
- Returns:
- implementation version, read from the manifest file.
printVersionInfo
public void printVersionInfo()
- Print version info to System.out.
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.