com.webcodepro.applecommander.ui
Class AppleCommander

java.lang.Object
  extended by com.webcodepro.applecommander.ui.AppleCommander

public class AppleCommander
extends java.lang.Object

Launch AppleCommander. This application attempts to identify which type of user-interface to launch. Additionally, there are some command-line interface switches available - see the about method.

Regarding SWT, this appliation launcher tries to not be SWT dependent. That means that SwtAppleCommander is launched purely by reflection. NOTE: This may yet prove to be a worthless trick. If it is, remove the crud. However, as the VERSION and COPYRIGHT are in this class and are referenced in various places, it may well be worth it.

Date created: Nov 16, 2002 9:13:25 PM

Author:
Rob Greene

Field Summary
static java.lang.String VERSION
           
 
Constructor Summary
AppleCommander()
           
 
Method Summary
protected static boolean isSwtAvailable()
          Test to see if SWT is available.
protected static void launchSwtAppleCommander(java.lang.String[] args)
          Launch the SWT version of AppleCommander.
static void main(java.lang.String[] args)
          Launch AppleCommander.
protected static void showHelp()
          Display help message(s) for AppleCommander.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

AppleCommander

public AppleCommander()
Method Detail

main

public static void main(java.lang.String[] args)
Launch AppleCommander.


launchSwtAppleCommander

protected static void launchSwtAppleCommander(java.lang.String[] args)
Launch the SWT version of AppleCommander. This method uses reflection to load SwtAppleCommander to minimize which classes get loaded. This is particularly important for the command-line version.


isSwtAvailable

protected static boolean isSwtAvailable()
Test to see if SWT is available.


showHelp

protected static void showHelp()
Display help message(s) for AppleCommander.