Class JAP

java.lang.Object
  extended by JAP
Direct Known Subclasses:
JAPMacintosh

public class JAP
extends java.lang.Object

This is the main class of the JAP project. It starts everything. It can be inherited by another class that wants to initialize platform depending features, e.g. see JAPMacintosh.html as an example.


Field Summary
(package private)  java.util.Hashtable m_arstrCmdnLnArgs
           
private  JAPController m_controller
           
(package private)  java.lang.String[] m_temp
           
private static java.lang.String MSG_CONFIGURE_BROWSER
           
private static java.lang.String MSG_ERROR_JONDO_ALREADY_RUNNING
           
private static java.lang.String MSG_ERROR_JONDO_ALREADY_RUNNING_WIN
           
private static java.lang.String MSG_ERROR_NEED_NEWER_JAVA
           
private static java.lang.String MSG_EXPLAIN_NO_FIREFOX_FOUND
           
private static java.lang.String MSG_FINISH_RANDOM
           
private static java.lang.String MSG_GNU_NOT_COMPATIBLE
           
private static java.lang.String MSG_INIT_DLL
           
private static java.lang.String MSG_INIT_ICON_VIEW
           
private static java.lang.String MSG_INIT_RANDOM
           
private static java.lang.String MSG_INIT_VIEW
           
private static java.lang.String MSG_LOADING_INTERNATIONALISATION
           
private static java.lang.String MSG_LOADING_SETTINGS
           
private static java.lang.String MSG_START_LISTENER
           
private static java.lang.String MSG_STARTING_CONTROLLER
           
private static java.lang.String MSG_UNINSTALLING
           
private static java.lang.String MSG_USE_DEFAULT_BROWSER
           
private static java.lang.String OPTION_CONTEXT
           
 
Constructor Summary
JAP()
           
JAP(java.lang.String[] argv)
          Constructor for the JAP object.
 
Method Summary
private  java.lang.String buildPortableFFCommand(ISplashResponse a_splash)
           
private  java.lang.String getArgumentValue(java.lang.String a_argument)
           
private  boolean isArgumentSet(java.lang.String a_argument)
           
static void main(java.lang.String[] argv)
           
private  void setArgument(java.lang.String a_argument, java.lang.String a_value)
           
 void startJAP()
          Initializes and starts the JAP.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_ERROR_NEED_NEWER_JAVA

private static final java.lang.String MSG_ERROR_NEED_NEWER_JAVA
See Also:
Constant Field Values

MSG_ERROR_JONDO_ALREADY_RUNNING

private static final java.lang.String MSG_ERROR_JONDO_ALREADY_RUNNING
See Also:
Constant Field Values

MSG_ERROR_JONDO_ALREADY_RUNNING_WIN

private static final java.lang.String MSG_ERROR_JONDO_ALREADY_RUNNING_WIN
See Also:
Constant Field Values

MSG_GNU_NOT_COMPATIBLE

private static final java.lang.String MSG_GNU_NOT_COMPATIBLE

MSG_LOADING_INTERNATIONALISATION

private static final java.lang.String MSG_LOADING_INTERNATIONALISATION

MSG_LOADING_SETTINGS

private static final java.lang.String MSG_LOADING_SETTINGS

MSG_STARTING_CONTROLLER

private static final java.lang.String MSG_STARTING_CONTROLLER

MSG_INIT_DLL

private static final java.lang.String MSG_INIT_DLL

MSG_INIT_VIEW

private static final java.lang.String MSG_INIT_VIEW

MSG_INIT_ICON_VIEW

private static final java.lang.String MSG_INIT_ICON_VIEW

MSG_INIT_RANDOM

private static final java.lang.String MSG_INIT_RANDOM

MSG_FINISH_RANDOM

private static final java.lang.String MSG_FINISH_RANDOM

MSG_START_LISTENER

private static final java.lang.String MSG_START_LISTENER

MSG_EXPLAIN_NO_FIREFOX_FOUND

private static final java.lang.String MSG_EXPLAIN_NO_FIREFOX_FOUND

MSG_USE_DEFAULT_BROWSER

private static final java.lang.String MSG_USE_DEFAULT_BROWSER

MSG_CONFIGURE_BROWSER

private static final java.lang.String MSG_CONFIGURE_BROWSER

MSG_UNINSTALLING

private static final java.lang.String MSG_UNINSTALLING

OPTION_CONTEXT

private static final java.lang.String OPTION_CONTEXT
See Also:
Constant Field Values

m_controller

private JAPController m_controller

m_arstrCmdnLnArgs

java.util.Hashtable m_arstrCmdnLnArgs

m_temp

java.lang.String[] m_temp
Constructor Detail

JAP

public JAP()

JAP

JAP(java.lang.String[] argv)
Constructor for the JAP object.

Parameters:
argv - The commandline arguments.
Method Detail

startJAP

public void startJAP()
Initializes and starts the JAP.


getArgumentValue

private java.lang.String getArgumentValue(java.lang.String a_argument)

setArgument

private void setArgument(java.lang.String a_argument,
                         java.lang.String a_value)

isArgumentSet

private boolean isArgumentSet(java.lang.String a_argument)

buildPortableFFCommand

private java.lang.String buildPortableFFCommand(ISplashResponse a_splash)

main

public static void main(java.lang.String[] argv)