Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.launcher
Class SIPCommunicator

java.lang.Object
  extended by net.java.sip.communicator.launcher.SIPCommunicator

public class SIPCommunicator
extends Object

Starts the SIP Communicator.

Author:
Yana Stamcheva, Lyubomir Marinov, Emil Ivov, Sebastien Vincent

Field Summary
static String PNAME_SC_HOME_DIR_LOCATION
          The name of the property that stores our home dir location.
static String PNAME_SC_HOME_DIR_NAME
          The name of the property that stores our home dir name.
 
Constructor Summary
SIPCommunicator()
           
 
Method Summary
static void main(String[] args)
          Starts the SIP Communicator.
(package private) static void setScHomeDir(String osName)
          Sets the system properties net.java.sip.communicator.SC_HOME_DIR_LOCATION and net.java.sip.communicator.SC_HOME_DIR_NAME (if they aren't already set) in accord with the OS conventions specified by the name of the OS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PNAME_SC_HOME_DIR_LOCATION

public static final String PNAME_SC_HOME_DIR_LOCATION
The name of the property that stores our home dir location.

See Also:
Constant Field Values

PNAME_SC_HOME_DIR_NAME

public static final String PNAME_SC_HOME_DIR_NAME
The name of the property that stores our home dir name.

See Also:
Constant Field Values
Constructor Detail

SIPCommunicator

public SIPCommunicator()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Starts the SIP Communicator.

Parameters:
args - command line args if any
Throws:
Exception - whenever it makes sense.

setScHomeDir

static void setScHomeDir(String osName)
Sets the system properties net.java.sip.communicator.SC_HOME_DIR_LOCATION and net.java.sip.communicator.SC_HOME_DIR_NAME (if they aren't already set) in accord with the OS conventions specified by the name of the OS. Please leave the access modifier as package (default) to allow launch- wrappers to call it.

Parameters:
osName - the name of the OS according to which the SC_HOME_DIR_* properties are to be set

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.