Package com.lf.digester.gui
Class DigesterGUI
java.lang.Object
com.lf.digester.gui.DigesterGUI
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 Summary
ConstructorDescriptionConstructor method for i18n purposes only.DigesterGUI
(String[] args) Constructor method for the formatter. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
Assembles the application information including build and date.static String
Assembles the full version information including build and date.static String
Assembles the application information including name and version.static String
getUsage()
Provides the usage message (list of command line arguments).boolean
Checks if the GUI has been created completely.static void
This can be used for the application be executed standalone.static void
Prints the copyright message viaSystem.out
.static void
Prints the usage message viaSystem.out
.
-
Constructor Details
-
DigesterGUI
Constructor method for i18n purposes only. Can only be used if beans design time is set (e.g. by external tools like theI18NExtractor
).- Throws:
InstantiationException
- Error indication- Since:
- 1.6
-
DigesterGUI
Constructor method for the formatter.- Parameters:
args
- Array of strings with console arguments- Since:
- 1.5
-
-
Method Details
-
getFullVersion
Assembles the full version information including build and date.- Returns:
- Full version information
- Since:
- 1.5
-
getNameAndVersion
Assembles the application information including name and version.- Returns:
- Name and version information
- Since:
- 1.5
-
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 viaSystem.out
.- Since:
- 1.5
-
printUsage
public static void printUsage()Prints the usage message viaSystem.out
.- Since:
- 1.5
-
getUsage
Provides the usage message (list of command line arguments).- Returns:
- The usage text
- Since:
- 1.5
-
main
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
-