All Packages Class Hierarchy This Package Previous Next Index
Class com.expershop.esapi.AppConfiguration
java.lang.Object
|
+----com.expershop.esapi.AppConfiguration
- public class AppConfiguration
- extends Object
A class to give access to this application's properties
-
get(String)
- Get a configuration parameter, given its name.
-
getAdminPassword(String)
- Get this application's administrator password
-
getDouble(String)
- Get a configuration parameter, given its name.
-
getJdbcDriverClass()
-
-
getJdbcPassword()
-
-
getJdbcUrl()
-
-
getJdbcUser()
-
-
getLocale()
- Get the Locale
-
getMaxConn()
-
-
getName()
- Get this application's name
-
getRootDir()
- Get this application's root directory (shop.RootDir property)
-
getTimeout()
-
getJdbcDriverClass
public String getJdbcDriverClass()
getJdbcUser
public String getJdbcUser()
getJdbcPassword
public String getJdbcPassword()
getJdbcUrl
public String getJdbcUrl()
getMaxConn
public int getMaxConn()
getName
public String getName()
- Get this application's name
getAdminPassword
public String getAdminPassword(String id)
- Get this application's administrator password
getRootDir
public String getRootDir()
- Get this application's root directory (shop.RootDir property)
getLocale
public Locale getLocale()
- Get the Locale
getTimeout
public int getTimeout()
get
public String get(String pname) throws SQLException
- Get a configuration parameter, given its name.
getDouble
public double getDouble(String pname) throws IOException
- Get a configuration parameter, given its name.
All Packages Class Hierarchy This Package Previous Next Index