Package tigase.conf
Class ConfigWriter
- java.lang.Object
-
- tigase.conf.ConfigWriter
-
public class ConfigWriter extends Object
Created by andrzej on 05.06.2016.
-
-
Constructor Summary
Constructors Constructor Description ConfigWriter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>buildTree(Map<String,Object> props)static booleanhasRestrictedChars(String str)ConfigWriterresolveVariables()voidwrite(File f, Map<String,Object> props)voidwrite(Writer writer, Map<String,Object> props)
-
-
-
Method Detail
-
hasRestrictedChars
public static boolean hasRestrictedChars(String str)
-
resolveVariables
public ConfigWriter resolveVariables()
-
write
public void write(File f, Map<String,Object> props) throws IOException
- Throws:
IOException
-
write
public void write(Writer writer, Map<String,Object> props) throws IOException
- Throws:
IOException
-
-