Package tigase.conf
Class ConfigReader
- java.lang.Object
-
- tigase.conf.ConfigReader
-
public class ConfigReader extends Object
Created by andrzej on 05.06.2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConfigReader.AbstractEnvironmentPropertyVariablestatic classConfigReader.CompositeVariablestatic classConfigReader.ConfigExceptionstatic classConfigReader.EnvironmentVariablestatic classConfigReader.InvalidFormatExceptionstatic classConfigReader.PropertyVariablestatic classConfigReader.StateclassConfigReader.StateHolderstatic classConfigReader.UnsupportedOperationExceptionstatic interfaceConfigReader.Variable
-
Constructor Summary
Constructors Constructor Description ConfigReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectdecodeValue(String string_in)static Map<String,Object>flatTree(Map<String,Object> props)Map<String,Object>read(File f)Map<String,Object>read(Reader reader)protected voidsetBeanDefinitionValue(Object val)
-
-
-
Method Detail
-
read
public Map<String,Object> read(Reader reader) throws IOException, ConfigReader.ConfigException
-
read
public Map<String,Object> read(File f) throws IOException, ConfigReader.ConfigException
-
setBeanDefinitionValue
protected void setBeanDefinitionValue(Object val)
-
-