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 voiddisableFeature(FeatureSet fs)static voidenableFeature(FeatureSet fs)static StringgetAppFolder()static StringgetAppFolderWithFinalSep()static JAppletgetApplet()Deprecated.static StringgetAppSubdirFolder(String folderName)static StringgetAppSubdirFolder(String subDir1, String subDir2)static StringgetAppSubdirFolderWithFinalSep(String folderName)static StringgetAppSubdirFolderWithFinalSep(String folderName, String folderName2)static StringgetAppWebURL()static StringgetFileSeparator()static StringgetHelpIntroductionText()static booleangetIsAllowedFeature(FeatureSet fs)static StringgetOldVersionIfAppHasBeenUpdated(String currentVersion)static ReleasegetRunningReleaseStatus()static StringgetTextFileContent(File aFile)static booleanisFirstRun()static booleanisRunningAsApplet()Deprecated.static booleanisRunningAsWebstart()static UpdateInfoResultisUpdated()static voidsetHelpIntroductionText(String statusMessage)static voidsetIsFirstRun(boolean b)static voidsetRunningAsApplet(JApplet appletContext)Deprecated.since 2.6.5, because JApplet is going to be dropped altogether in future (9+) Java versionsstatic voidsetRunningReleaseStatus(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:
-