Class SystemConfigurationImpl
- java.lang.Object
-
- org.epics.pvaccess.util.configuration.impl.SystemConfigurationImpl
-
- All Implemented Interfaces:
Configuration
public class SystemConfigurationImpl extends Object implements Configuration
Configuration that reads config from system environment and JVM properties (higher priority).- Author:
- msekoranja
-
-
Constructor Summary
Constructors Constructor Description SystemConfigurationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetPropertyAsBoolean(String name, boolean defaultValue)floatgetPropertyAsFloat(String name, float defaultValue)intgetPropertyAsInteger(String name, int defaultValue)StringgetPropertyAsString(String name, String defaultValue)
-
-
-
Method Detail
-
getPropertyAsBoolean
public boolean getPropertyAsBoolean(String name, boolean defaultValue)
- Specified by:
getPropertyAsBooleanin interfaceConfiguration
-
getPropertyAsInteger
public int getPropertyAsInteger(String name, int defaultValue)
- Specified by:
getPropertyAsIntegerin interfaceConfiguration
-
getPropertyAsFloat
public float getPropertyAsFloat(String name, float defaultValue)
- Specified by:
getPropertyAsFloatin interfaceConfiguration
-
getPropertyAsString
public String getPropertyAsString(String name, String defaultValue)
- Specified by:
getPropertyAsStringin interfaceConfiguration
-
-