com.genesyslab.platform.commons.connection.configuration
Class FileConfiguration
java.lang.Object
com.genesyslab.platform.commons.connection.AbstractConnectionConfiguration
com.genesyslab.platform.commons.connection.configuration.PropertyConfiguration
com.genesyslab.platform.commons.connection.configuration.FileConfiguration
- All Implemented Interfaces:
- ConnectionConfiguration
- public class FileConfiguration
- extends PropertyConfiguration
- implements ConnectionConfiguration
This class support reading of options from configuration file.
File format:
Coments begin from ; or #
'A'-'Z', 'a'-'z', '-', '_', '+', '0'-'9' is possible to use
in names and values:
Example:
***************************************************
# file example
[serverName1]
ab=bc-uuud
ac=cvvvv
rtad=9
[serverName2]
a1=bcd
v=a6+ay+34
v3=uuuuuuu
# end of example
Constructor Summary |
FileConfiguration(java.lang.String fileName,
java.lang.String section)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileConfiguration
public FileConfiguration(java.lang.String fileName,
java.lang.String section)
throws java.io.IOException
Send comments on this topic.
Copyright © 2006–2008 Genesys Telecommunication Laboratories, Inc. All rights reserved.