Class DigesterGUI

java.lang.Object
com.lf.digester.gui.DigesterGUI

public class DigesterGUI extends Object
The main class running the Digester application.

If the locale is ger_DE and the applications is executed under MS-DOS (which uses Codepage 850 instead of the Windows Codepage 1252!) then the umlaut characters look strange. To set a different encoding use the following call: digester -locale ger_DE -J-Dfile.encoding=IBM850 ...

Since:
1.5
Author:
Axel Schwolow
  • Constructor Details

    • DigesterGUI

      public DigesterGUI() throws InstantiationException
      Constructor method for i18n purposes only.

      Can only be used if beans design time is set (e.g. by external tools like the I18NExtractor).

      Throws:
      InstantiationException - Error indication
      Since:
      1.6
    • DigesterGUI

      public DigesterGUI(String[] args)
      Constructor method for the formatter.

      Parameters:
      args - Array of strings with console arguments
      Since:
      1.5
  • Method Details

    • getFullVersion

      public static String getFullVersion()
      Assembles the full version information including build and date.

      Returns:
      Full version information
      Since:
      1.5
    • getNameAndVersion

      public static String getNameAndVersion()
      Assembles the application information including name and version.

      Returns:
      Name and version information
      Since:
      1.5
    • getBuildAndDate

      public static String getBuildAndDate()
      Assembles the application information including build and date.

      Returns:
      Build and date information
      Since:
      1.5
    • printCopyright

      public static void printCopyright()
      Prints the copyright message via System.out.

      Since:
      1.5
    • printUsage

      public static void printUsage()
      Prints the usage message via System.out.

      Since:
      1.5
    • getUsage

      public static String getUsage()
      Provides the usage message (list of command line arguments).

      Returns:
      The usage text
      Since:
      1.5
    • main

      public static void main(String[] args)
      This can be used for the application be executed standalone.

      Parameters:
      args - Array of strings with console arguments
      Since:
      1.5
    • isStartupFinished

      public boolean isStartupFinished()
      Checks if the GUI has been created completely.
      Returns:
      Finished?
      Since:
      2.11