|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jxml.qare.qhome.QConfig
This class fetches the configuration data from data.qconfig.
Constructor Summary | |
QConfig()
Initializes object of this(QConfig) class. |
Method Summary | |
String |
displayDate(Date date)
|
static String |
emailAccount()
Returns senders(i.e from address) email address |
static int |
getBackupBlockCount()
|
static List |
getDBClassNames()
|
static List |
getDBSpecialPrivileges()
|
static String |
getDisplayDate(Date date)
|
static QConfig |
getInstance()
Returns the instance of qconfig. |
static int |
getWebServiceLimit()
The return address used when interacting with other QHome systems via email |
static String |
homeUrl()
Returns address used when interacting with a browser. |
static String |
longUserName(String shortUserName)
|
static String |
longUserName(String shortUserName,
String returnAddress)
|
static String |
mailPassword()
Returns the e-mail account password. |
static String |
mailUserName()
Returns the e-mail account name. |
static String |
mash(String v)
|
static String |
mashAddr(String addr)
|
static String |
mashedReturnAddress()
|
static int |
pollTime()
Returns the delay, in seconds, used when polling for mail. |
static String |
pop()
Returns the address of the pop server used for reading mail. |
static String |
refreshInterval()
|
static String |
returnAddress()
|
static String |
smtp()
Returns the address of the mail server used for sending mail. |
static String |
sqlPassword()
|
static String |
sqlUrl()
|
static String |
sqlUser()
|
static boolean |
testMode()
The the current mode qare is running ie default is non testing mode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int backupBlockCount
public String homeUrl
public String returnAddress
public String emailAccount
public String smtp
public String pop
public String mailUserName
public String mailPassword
public int pollTime
public String refreshInterval
public String sqlDriver
public String sqlUser
public String sqlPassword
public String sqlUrl
public boolean testMode
public int limitWebService
public String format
public List dbClassNames
public static SimpleDateFormat formater
public ArrayList specialPrivileges
Constructor Detail |
public QConfig()
Method Detail |
public static int getBackupBlockCount()
public static QConfig getInstance()
public static String homeUrl()
public static String sqlUrl()
public static String sqlUser()
public static String sqlPassword()
public static String refreshInterval()
public static boolean testMode()
public static int getWebServiceLimit()
public static String returnAddress()
public static List getDBClassNames()
public static List getDBSpecialPrivileges()
public static String getDisplayDate(Date date)
public String displayDate(Date date)
public static String emailAccount()
public static String smtp()
public static String pop()
public static String mailUserName()
public static String mailPassword()
public static int pollTime()
public static String mash(String v)
public static String mashAddr(String addr)
public static String mashedReturnAddress()
public static String longUserName(String shortUserName)
public static String longUserName(String shortUserName, String returnAddress)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |