All Packages Class Hierarchy This Package Previous Next Index
Class iBus.Application
java.lang.Object
|
+----iBus.Application
- public final class Application
- extends Object
The iBus class exports functions necessary for initializing
iBus applications, e.g., setting the Log level and handling
iBus command line arguments.
-
IBUS_VERSION
- the iBus Version
-
PROP_APPNAME
- application name property
-
PROP_HOSTADDRESS
- Localhost address property
-
PROP_HOSTNAME
- Localhost name property
-
PROP_LOG
- log activation property
-
PROP_LOGLEVEL
- log level property
-
PROP_LOGTOCHANNEL
- log-to-channel property
-
PROP_LOGTOFILE
- log-to-file property
-
PROP_PORT
- Default port property
-
PROP_SYSTEM
- System name property
-
PROP_VERSION
- iBus version property
-
Application()
-
-
getAppName()
- Returns the application name.
-
getHostAddress()
- Return the host address.
-
getHostName()
- Return the host name.
-
init(String, String[])
- iBus is configured by specifying
the System properties described in the Programmer's Manual.
Deprecated.
-
setAppName(String)
- Sets the application name.
IBUS_VERSION
public static final String IBUS_VERSION
- the iBus Version
PROP_APPNAME
public static final String PROP_APPNAME
- application name property
PROP_LOGLEVEL
public static final String PROP_LOGLEVEL
- log level property
PROP_LOG
public static final String PROP_LOG
- log activation property
PROP_PORT
public static final String PROP_PORT
- Default port property
PROP_HOSTADDRESS
public static final String PROP_HOSTADDRESS
- Localhost address property
PROP_HOSTNAME
public static final String PROP_HOSTNAME
- Localhost name property
PROP_SYSTEM
public static final String PROP_SYSTEM
- System name property
PROP_LOGTOCHANNEL
public static final String PROP_LOGTOCHANNEL
- log-to-channel property
PROP_LOGTOFILE
public static final String PROP_LOGTOFILE
- log-to-file property
PROP_VERSION
public static final String PROP_VERSION
- iBus version property
Application
public Application()
init
public static String[] init(String appName,
String argv[])
- Note: init() is deprecated.
as of 0.5. init(...) is obsolete.
- iBus is configured by specifying
the System properties described in the Programmer's Manual.
setAppName
public static void setAppName(String name)
- Sets the application name. This can also be accomplished
by setting the iBusAppName system property.
- Parameters:
- name - the application name
getAppName
public static String getAppName()
- Returns the application name.
- Returns:
- the application name
getHostName
public static String getHostName()
- Return the host name.
- Returns:
- the host name
getHostAddress
public static String getHostAddress()
- Return the host address.
- Returns:
- the host name
All Packages Class Hierarchy This Package Previous Next Index