public class ConfigLoader
extends java.lang.Object
Constructor and Description |
---|
ConfigLoader() |
Modifier and Type | Method and Description |
---|---|
static java.net.Socket |
ConnectToAnalServer(java.lang.String strConfigFile)
Connect to the analytics server from the connection parameters set in the XML Configuration file
|
static java.net.ServerSocket |
InitAnalServer(java.lang.String strConfigFile)
Initialize the analytics server from the connection parameters set in the XML Configuration file
|
static CaseInsensitiveTreeMap<Locale> |
LoadHolidayCalendars(java.lang.String strConfigFile)
Load the map of the holiday calendars from the entries set in the XML Configuration file
|
static CaseInsensitiveTreeMap<Locale> |
LoadHolidayCalendarsFromDB(java.lang.String strConfigFile)
Load the map of the holiday calendars from the database settings set in the XML Configuration file
|
static Locale |
LocationHolidays(org.w3c.dom.Document doc,
java.lang.String strLoc)
Create a LocHolidays object from the XML Document and the Location Tag
|
static java.lang.String |
LoggerLocation(java.lang.String strConfigFile)
Get the logger location from the XML Configuration file
|
static void |
main(java.lang.String[] astrArgs) |
static java.sql.Statement |
OracleInit(java.lang.String strConfigFile)
Initialize the Oracle database from the connection parameters set in the XML Configuration file
|
public static Locale LocationHolidays(org.w3c.dom.Document doc, java.lang.String strLoc)
doc
- XML DocumentstrLoc
- Location Tagpublic static java.lang.String LoggerLocation(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static java.net.Socket ConnectToAnalServer(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static java.net.ServerSocket InitAnalServer(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static CaseInsensitiveTreeMap<Locale> LoadHolidayCalendars(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static java.sql.Statement OracleInit(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static final CaseInsensitiveTreeMap<Locale> LoadHolidayCalendarsFromDB(java.lang.String strConfigFile)
strConfigFile
- XML Configuration filepublic static void main(java.lang.String[] astrArgs) throws java.lang.Exception
java.lang.Exception