|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.util.PropertiesReader
public class PropertiesReader
Reads properties files.
| Constructor Summary | |
|---|---|
PropertiesReader(java.lang.Class theClass,
java.lang.String propertiesFileURL)
|
|
| Method Summary | |
|---|---|
java.util.Properties |
get()
Returns properties associated to indicated file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesReader(java.lang.Class theClass,
java.lang.String propertiesFileURL)
propertiesFileURL - Cannot be nulltheClass - Class from obtain the ClassLoader used to read the file. Cannot be nul| Method Detail |
|---|
public java.util.Properties get()
throws java.io.IOException
Read all files in classpath with the property file name used in constructor.
The result is a mix of all properties of this files.
Only read the first time.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||