Loading RTclient Options


Option settings may be loaded from a local file or a URL, depending on security restrictions. Applets are generally not allowed access to the local file system and typically retrieve options from a URL on the same web server from which the options were downloaded.

To load options from a local file, use Tut.loadOptionsFile. Use Tut.loadOptionsURL to load options from a remote file using a URL. Both methods load the options immediately, overriding any existing settings for the options that appear in the file.

Options are also loaded from the System property table (the table returned by the standard Java library call System.getProperties). Option settings loaded from a file take precedence over settings that appear in the System table. All of the standard options have a default setting that will be used if a setting does not appear in either the System table or a loaded file.


TIBCO SmartSockets™ Java Library User’s Guide and Tutorial
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com