Package org

Class ReleaseInfo

java.lang.Object
org.ReleaseInfo
All Implemented Interfaces:
HelperClass

public class ReleaseInfo
extends Object
implements HelperClass
  • Constructor Details

    • ReleaseInfo

      public ReleaseInfo()
  • Method Details

    • getRunningReleaseStatus

      public static Release getRunningReleaseStatus()
    • setRunningReleaseStatus

      public static void setRunningReleaseStatus​(Release currentReleaseStatus)
    • enableFeature

      public static void enableFeature​(FeatureSet fs)
    • disableFeature

      public static void disableFeature​(FeatureSet fs)
    • getIsAllowedFeature

      public static boolean getIsAllowedFeature​(FeatureSet fs)
    • getAppFolder

      public static String getAppFolder()
    • getFileSeparator

      public static String getFileSeparator()
    • getAppFolderWithFinalSep

      public static String getAppFolderWithFinalSep()
    • getAppWebURL

      public static String getAppWebURL()
    • setHelpIntroductionText

      public static void setHelpIntroductionText​(String statusMessage)
    • getHelpIntroductionText

      public static String getHelpIntroductionText()
    • setRunningAsApplet

      public static void setRunningAsApplet​(JApplet appletContext)
      Deprecated.
      since 2.6.5, because JApplet is going to be dropped altogether in future (9+) Java versions
      Parameters:
      appletContext -
    • isRunningAsApplet

      @Deprecated public static boolean isRunningAsApplet()
      Deprecated.
    • setIsFirstRun

      public static void setIsFirstRun​(boolean b)
    • isFirstRun

      public static boolean isFirstRun()
    • isUpdated

      public static UpdateInfoResult isUpdated()
    • isRunningAsWebstart

      public static boolean isRunningAsWebstart()
    • getOldVersionIfAppHasBeenUpdated

      public static String getOldVersionIfAppHasBeenUpdated​(String currentVersion)
      Parameters:
      currentVersion -
      Returns:
      null, if not updated / "", if updated but old version is unknown / old version string, if updated.
    • getTextFileContent

      public static String getTextFileContent​(File aFile) throws Exception
      Throws:
      Exception
    • getAppSubdirFolder

      public static String getAppSubdirFolder​(String folderName)
    • getAppSubdirFolder

      public static String getAppSubdirFolder​(String subDir1, String subDir2)
    • getAppSubdirFolderWithFinalSep

      public static String getAppSubdirFolderWithFinalSep​(String folderName)
    • getAppSubdirFolderWithFinalSep

      public static String getAppSubdirFolderWithFinalSep​(String folderName, String folderName2)
    • getApplet

      public static JApplet getApplet()
      Deprecated.
      Returns: