Package org
Class ReleaseInfo
java.lang.Object
org.ReleaseInfo
- All Implemented Interfaces:
HelperClass
public class ReleaseInfo extends Object implements HelperClass
-
Constructor Summary
Constructors Constructor Description ReleaseInfo()
-
Method Summary
Modifier and Type Method Description static void
disableFeature(FeatureSet fs)
static void
enableFeature(FeatureSet fs)
static String
getAppFolder()
static String
getAppFolderWithFinalSep()
static JApplet
getApplet()
Deprecated.static String
getAppSubdirFolder(String folderName)
static String
getAppSubdirFolder(String subDir1, String subDir2)
static String
getAppSubdirFolderWithFinalSep(String folderName)
static String
getAppSubdirFolderWithFinalSep(String folderName, String folderName2)
static String
getAppWebURL()
static String
getFileSeparator()
static String
getHelpIntroductionText()
static boolean
getIsAllowedFeature(FeatureSet fs)
static String
getOldVersionIfAppHasBeenUpdated(String currentVersion)
static Release
getRunningReleaseStatus()
static String
getTextFileContent(File aFile)
static boolean
isFirstRun()
static boolean
isRunningAsApplet()
Deprecated.static boolean
isRunningAsWebstart()
static UpdateInfoResult
isUpdated()
static void
setHelpIntroductionText(String statusMessage)
static void
setIsFirstRun(boolean b)
static void
setRunningAsApplet(JApplet appletContext)
Deprecated.since 2.6.5, because JApplet is going to be dropped altogether in future (9+) Java versionsstatic void
setRunningReleaseStatus(Release currentReleaseStatus)
-
Constructor Details
-
ReleaseInfo
public ReleaseInfo()
-
-
Method Details
-
getRunningReleaseStatus
-
setRunningReleaseStatus
-
enableFeature
-
disableFeature
-
getIsAllowedFeature
-
getAppFolder
-
getFileSeparator
-
getAppFolderWithFinalSep
-
getAppWebURL
-
setHelpIntroductionText
-
getHelpIntroductionText
-
setRunningAsApplet
Deprecated.since 2.6.5, because JApplet is going to be dropped altogether in future (9+) Java versions- Parameters:
appletContext
-
-
isRunningAsApplet
Deprecated. -
setIsFirstRun
public static void setIsFirstRun(boolean b) -
isFirstRun
public static boolean isFirstRun() -
isUpdated
-
isRunningAsWebstart
public static boolean isRunningAsWebstart() -
getOldVersionIfAppHasBeenUpdated
- Parameters:
currentVersion
-- Returns:
- null, if not updated / "", if updated but old version is unknown / old version string, if updated.
-
getTextFileContent
- Throws:
Exception
-
getAppSubdirFolder
-
getAppSubdirFolder
-
getAppSubdirFolderWithFinalSep
-
getAppSubdirFolderWithFinalSep
-
getApplet
Deprecated.- Returns:
-