java.lang.Objectorg.objectweb.telosys.common.TelosysProperties
The Telosys properties container ( contains the propertie loaded from "telosys.properties" )
Field Summary | |
static int |
CLASSPATH
|
static int |
FILESYSTEM
|
static java.lang.String |
SCREEN_CONTEXT_CONVENTION
|
static java.lang.String |
SERVICE_PACKAGE_CONVENTION
|
static int |
UNKNOWN
|
static java.lang.String |
UPLOAD_CHARSET
|
static java.lang.String |
UPLOAD_DIR
|
static java.lang.String |
UPLOAD_MAX_SIZE
|
static java.lang.String |
UPLOAD_URL
|
static int |
WEBAPP
|
Constructor Summary | |
protected |
TelosysProperties(java.util.Properties prop,
java.lang.String file,
int origin)
Constructs a new properties holder |
Method Summary | |
java.lang.String |
getConfigFile(java.lang.String sPropertyName)
Returns the config file name associated with the given property name NB : if the value starts with " |
java.lang.String |
getFile()
Returns the properties file name |
java.util.Date |
getInitDate()
Returns the properties init date and time |
int |
getOrigin()
Returns the properties origin |
java.util.Properties |
getProperties()
Returns the properties |
java.lang.String |
getProperty(java.lang.String sPropertyName)
Returns the value of the given property name |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String UPLOAD_URL
public static final java.lang.String UPLOAD_DIR
public static final java.lang.String UPLOAD_CHARSET
public static final java.lang.String UPLOAD_MAX_SIZE
public static final java.lang.String SCREEN_CONTEXT_CONVENTION
public static final java.lang.String SERVICE_PACKAGE_CONVENTION
public static final int UNKNOWN
public static final int FILESYSTEM
public static final int WEBAPP
public static final int CLASSPATH
Constructor Detail |
protected TelosysProperties(java.util.Properties prop, java.lang.String file, int origin)
prop
- file
- origin
- Method Detail |
public int getOrigin()
public java.util.Properties getProperties()
public java.lang.String getFile()
public java.util.Date getInitDate()
public java.lang.String getProperty(java.lang.String sPropertyName)
sPropertyName
-
public java.lang.String getConfigFile(java.lang.String sPropertyName)
sPropertyName
- : e.g. "ScreensConfFile", "DbConfFile", ... ( see telosys.properties )
public java.lang.String toString()