Oracle Audio Technologies Application 9i User Manual

Page 42

Advertising
background image

Configuration

2-12

Oracle9i Application Server Wireless Edition Configuration Guide

In the OracleMobileEmail.properties file, change the mail.config.class property to
be the class you define.

The input is an object. The default behavior is not to pass anything. You can change
it to pass information such as a string (username for example), or a hashtable
containing more information.

If you do not want to implement all of the methods, you can extend from
oracle.panama.module.communicate.mail.util.Config

. You can choose to override

methods, but the rest will be the default implementations. The default is to ignore
the username and pick up the information from the properties file.

Refer to the Javadoc IConfig.html and the Java interface in the

doc

directory of the

install.

String getXMLVersion (Object o)

Returns the PTG XML version. Ensure it is
consistent with the "studio" parameters.
Currently, studio is running PTG 1.0.

boolean isStudio(Object o)

Indicates whether it is running in studio or not.
Ensure it is consistent with the
"oracle.panama.version" parameters. Currently,
studio is running PTG 1.0.

String getInboxFolderName
(Object o)

Returns the Inbox folder name.

String getSentFolderName
(Object o)

Returns the Sent folder name.

boolean isLogging(Object o)

Indicates if logging is enabled.

String getLogfile (Object o)

Returns the full path of the log file.

String getTimeout (Object o)

Returns the connection timeout in
milliseconds.

Advertising