public final class ApplicationNamesInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultLauncherName()
Returns the default name of the command-line launcher to be suggested in 'Create Launcher Script' dialog.
|
java.lang.String |
getEditionName()
Returns edition name of the product, if applicable
(e.g.
|
java.lang.String |
getFullProductName()
Returns full product name (
"IntelliJ IDEA" for IntelliJ IDEA, "WebStorm" for WebStorm, etc). |
java.lang.String |
getFullProductNameWithEdition()
Returns full product name with edition.
|
static ApplicationNamesInfo |
getInstance() |
java.lang.String |
getLowercaseProductName()
Returns a sentence-cased version of
getProductName() ("Idea" for IntelliJ IDEA, "Webstorm" for WebStorm, etc). |
java.lang.String |
getMotto()
Returns motto of the product.
|
java.lang.String |
getProductName()
For multi-word product names, returns a short variant (e.g.
|
java.lang.String |
getScriptName()
Returns the base name of the launcher file (*.exe, *.bat, *.sh) located in the product home's 'bin/' directory
(
"idea" for IntelliJ IDEA, "webstorm" for WebStorm etc). |
static Element |
initAndGetRawData() |
public static Element initAndGetRawData()
public static ApplicationNamesInfo getInstance()
public java.lang.String getProductName()
"IDEA"
for "IntelliJ IDEA"),
otherwise returns the same value as getFullProductName()
.
Consider using getFullProductName()
instead.public java.lang.String getFullProductName()
"IntelliJ IDEA"
for IntelliJ IDEA, "WebStorm"
for WebStorm, etc).
Vendor prefix and edition are not included.public java.lang.String getFullProductNameWithEdition()
Returns full product name with edition. Vendor prefix is not included.
Use only when omitting an edition may potentially cause a confusion.
Example #1: include the edition in generated shortcuts, since a user may have several editions installed.
Example #2: exclude the edition from "Restart ...?" confirmation, as it only hampers readability.
Rarely needed, consider using getFullProductName()
instead.
getFullProductName()
,
getEditionName()
public java.lang.String getEditionName()
"Ultimate Edition"
or "Community Edition"
for IntelliJ IDEA, null
for WebStorm).public java.lang.String getLowercaseProductName()
getProductName()
("Idea"
for IntelliJ IDEA, "Webstorm"
for WebStorm, etc).
Kept for compatibility; use getFullProductName()
instead.public java.lang.String getScriptName()
"idea"
for IntelliJ IDEA, "webstorm"
for WebStorm etc).public java.lang.String getDefaultLauncherName()
public java.lang.String getMotto()