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.


Variable Index

 o IBUS_VERSION
the iBus Version
 o PROP_APPNAME
application name property
 o PROP_HOSTADDRESS
Localhost address property
 o PROP_HOSTNAME
Localhost name property
 o PROP_LOG
log activation property
 o PROP_LOGLEVEL
log level property
 o PROP_LOGTOCHANNEL
log-to-channel property
 o PROP_LOGTOFILE
log-to-file property
 o PROP_PORT
Default port property
 o PROP_SYSTEM
System name property
 o PROP_VERSION
iBus version property

Constructor Index

 o Application()

Method Index

 o getAppName()
Returns the application name.
 o getHostAddress()
Return the host address.
 o getHostName()
Return the host name.
 o init(String, String[])
iBus is configured by specifying the System properties described in the Programmer's Manual. Deprecated.
 o setAppName(String)
Sets the application name.

Variables

 o IBUS_VERSION
 public static final String IBUS_VERSION
the iBus Version

 o PROP_APPNAME
 public static final String PROP_APPNAME
application name property

 o PROP_LOGLEVEL
 public static final String PROP_LOGLEVEL
log level property

 o PROP_LOG
 public static final String PROP_LOG
log activation property

 o PROP_PORT
 public static final String PROP_PORT
Default port property

 o PROP_HOSTADDRESS
 public static final String PROP_HOSTADDRESS
Localhost address property

 o PROP_HOSTNAME
 public static final String PROP_HOSTNAME
Localhost name property

 o PROP_SYSTEM
 public static final String PROP_SYSTEM
System name property

 o PROP_LOGTOCHANNEL
 public static final String PROP_LOGTOCHANNEL
log-to-channel property

 o PROP_LOGTOFILE
 public static final String PROP_LOGTOFILE
log-to-file property

 o PROP_VERSION
 public static final String PROP_VERSION
iBus version property

Constructors

 o Application
 public Application()

Methods

 o 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.

 o 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
 o getAppName
 public static String getAppName()
Returns the application name.

Returns:
the application name
 o getHostName
 public static String getHostName()
Return the host name.

Returns:
the host name
 o getHostAddress
 public static String getHostAddress()
Return the host address.

Returns:
the host name

All Packages  Class Hierarchy  This Package  Previous  Next  Index