|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.util.PropertiesProxy
public final class PropertiesProxy
Distribute objects PropertiesManager
.
All methods are static and thread safe.
Constructor Summary | |
---|---|
PropertiesProxy()
|
Method Summary | |
---|---|
static PropertiesManager |
getProperties()
Call method getProperties(String, String) . |
static PropertiesManager |
getProperties(java.lang.String propertiesName)
Call method getProperties(String, String) . |
static PropertiesManager |
getProperties(java.lang.String propertiesName,
java.lang.String language)
Get a PropertiesManager object. |
java.lang.String |
toString()
Return data relative of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PropertiesProxy()
Method Detail |
---|
public static PropertiesManager getProperties(java.lang.String propertiesName, java.lang.String language)
PropertiesManager
object. The object is first
searched in propertiesPool
: if not found then the method
createPropertiesManager(java.lang.String, java.lang.String)
is called.
propertiesName
- the name of the properties file without the suffix
.properties).language
- the language of the properties file. If null or if
the requested language of the properties file not exist the default one
is returned.
PropertiesManager
object.public static PropertiesManager getProperties(java.lang.String propertiesName)
getProperties(String, String)
. The value of parameter
language is null.
propertiesName
- the name of the properties file without the suffix
.properties).
PropertiesManager
object.public static PropertiesManager getProperties()
getProperties(String, String)
.
PropertiesManager
object.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |