Package org.openxava.util
Class PropertiesReader
- java.lang.Object
-
- org.openxava.util.PropertiesReader
-
public class PropertiesReader extends java.lang.Object
Reads properties files.
-
-
Constructor Summary
Constructors Constructor Description PropertiesReader(java.lang.Class theClass, java.lang.String propertiesFileURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Properties
get()
Returns properties associated to indicated file.
-
-
-
Method Detail
-
get
public java.util.Properties get() throws java.io.IOException
Returns properties associated to indicated file.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.- Returns:
- Not null
- Throws:
java.io.IOException
-
-