public final class Edition extends Product
This class is thread-safe.
Modifier and Type | Field and Description |
---|---|
static boolean |
IS_PERSONAL_EDITION
true if this is only the personal edition of the product;
false otherwise. |
static boolean |
IS_RESTRICTED_EDITION
true if this is a restricted version of the product;
false otherwise. |
static boolean |
IS_SPECIAL_EDITION
true if this is a special version of the product
(e.g. |
static String |
PERSONAL_EDITION_NAME
The ``official name'' of Personal Edition.
|
static String |
PROFESSIONAL_EDITION_NAME
The ``official name'' of Professional Edition.
|
BUILD_DATE, LOCK, PRODUCT_EDITION, PRODUCT_FAMILY, PRODUCT_NAME, PRODUCT_NUMBER, PRODUCT_URL, SKIPPED_ADDON_NAMES, SKIPPED_CONFIGURATION_NAMES, VENDOR, VENDOR_URL, VERSION_LEVEL, VERSION_LEVEL_TYPE, VERSION_MAJOR, VERSION_MICRO, VERSION_MINOR, versionNumber, versionString
Modifier and Type | Method and Description |
---|---|
static String |
getProductFullName()
Returns the name of the product, including the name of the edition and
the version number.
|
static String |
getProductLongName()
Returns the name of the product, including the name of the edition.
|
static VersionNumber |
getVersionNumberNoLevel()
Returns the version number of this product but without
any alpha, beta or patch level information.
|
findInstallDirectory, getVersionNumber, getVersionString
public static final String PROFESSIONAL_EDITION_NAME
public static final String PERSONAL_EDITION_NAME
public static final boolean IS_PERSONAL_EDITION
true
if this is only the personal edition of the product;
false
otherwise.public static final boolean IS_SPECIAL_EDITION
true
if this is a special version of the product
(e.g. "DITA Editor"); false
otherwise.public static final boolean IS_RESTRICTED_EDITION
true
if this is a restricted version of the product;
false
otherwise.public static String getProductLongName()
public static String getProductFullName()
public static final VersionNumber getVersionNumberNoLevel()
This is useful to consider release level add-ons to be compatible with an alpha, beta or patch level XML editor.