public class SIPCommunicator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PNAME_SC_CACHE_DIR_LOCATION
The name of the property that stores the home dir for cache data, such
as avatars and spelling dictionaries.
|
static java.lang.String |
PNAME_SC_HOME_DIR_LOCATION
The name of the property that stores our home dir location.
|
static java.lang.String |
PNAME_SC_HOME_DIR_NAME
The name of the property that stores our home dir name.
|
static java.lang.String |
PNAME_SC_LOG_DIR_LOCATION
The name of the property that stores the home dir for application log
files (not history).
|
Constructor and Description |
---|
SIPCommunicator() |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
checkHomeFolderExist(java.lang.String parent,
java.lang.String name,
java.lang.String osName)
Checks whether home folder exists.
|
static void |
main(java.lang.String[] args)
Starts the SIP Communicator.
|
(package private) static void |
setScHomeDir(java.lang.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.
|
public static final java.lang.String PNAME_SC_CACHE_DIR_LOCATION
public static final java.lang.String PNAME_SC_LOG_DIR_LOCATION
public static final java.lang.String PNAME_SC_HOME_DIR_LOCATION
public static final java.lang.String PNAME_SC_HOME_DIR_NAME
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- command line args if anyjava.lang.Exception
- whenever it makes sense.static void setScHomeDir(java.lang.String osName)
osName
- the name of the OS according to which the SC_HOME_DIR_*
properties are to be setstatic boolean checkHomeFolderExist(java.lang.String parent, java.lang.String name, java.lang.String osName)
parent
- the parent foldername
- the folder name to check.osName
- OS name
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.