|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavafish.clients.opc.property.PropertyLoader
public class PropertyLoader
Properties loader
NOTE:Root of properties files has to be in a class path
| Constructor Summary | |
|---|---|
PropertyLoader()
|
|
| Method Summary | |
|---|---|
static java.util.Properties |
getDefaultLoggerProperties()
Get default logger properties |
static java.util.Properties |
getDefaultProperties()
Return default application properties from default.properties |
static java.lang.String |
getDefaultProperty(java.lang.String propertyName)
Get default application property |
static java.lang.String |
getProperty(java.lang.String propsName,
java.lang.String propertyName)
Get property for class (propsName) |
static java.util.Properties |
loadProperties(java.lang.Class className)
Get properties by class (className) |
static java.util.Properties |
loadProperties(java.lang.String propsName)
Get properties for class (propsName) |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyLoader()
| Method Detail |
|---|
public static java.lang.String getProperty(java.lang.String propsName,
java.lang.String propertyName)
propsName - class packagepropertyName - key
public static java.lang.String getDefaultProperty(java.lang.String propertyName)
propertyName - String
public static java.util.Properties getDefaultLoggerProperties()
public static java.util.Properties getDefaultProperties()
public static java.util.Properties loadProperties(java.lang.Class className)
className - Class
public static java.util.Properties loadProperties(java.lang.String propsName)
propsName - class package
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||