|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jfw.util.PropertiesReader
public final class PropertiesReader
Return a Properties object relative of a properties file.
All methods are static and thread safe.
| Constructor Summary | |
|---|---|
PropertiesReader()
|
|
| Method Summary | |
|---|---|
static java.util.Properties |
readProperties(java.lang.String fileName)
Read a properties file. |
static void |
readProperties(java.lang.String fileName,
java.util.Properties properties)
Call method readProperties(String , String, Properties) for read the
properties file. |
static void |
readProperties(java.lang.String fileName,
java.lang.String language,
java.util.Properties properties)
Read a properties file. |
static void |
readPropertiesFile(java.lang.String propertiesPath,
java.lang.String fileName,
java.util.Properties properties)
Read a properties file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesReader()
| Method Detail |
|---|
public static void readProperties(java.lang.String fileName,
java.lang.String language,
java.util.Properties properties)
throws JFWGenericException
fileName - the name of the properties file.properties - the object to use for save the content of the properties
file. Must be not null.
JFWGenericException
public static void readProperties(java.lang.String fileName,
java.util.Properties properties)
throws JFWGenericException
readProperties(String , String, Properties) for read the
properties file. The value of parameter language is null.
JFWGenericException
public static java.util.Properties readProperties(java.lang.String fileName)
throws JFWGenericException
fileName - the name of the properties file.
Properties object.
JFWGenericException
public static void readPropertiesFile(java.lang.String propertiesPath,
java.lang.String fileName,
java.util.Properties properties)
throws JFWGenericException
fileName - the name of the properties file.propertiesPath - the absolute path of the properties file.properties - the object to use for save the content of the properties
file. Must be not null.
JFWGenericException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||