Package tigase.conf
Class OldConfigHolder
- java.lang.Object
-
- tigase.conf.OldConfigHolder
-
public class OldConfigHolder extends Object
Created by andrzej on 10.07.2017.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOldConfigHolder.Format
-
Constructor Summary
Constructors Constructor Description OldConfigHolder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvert(String[] args, Path tdslPath)protected voidconvertFromOldFormat()protected OldConfigHolder.FormatdetectPathAndFormat()Optional<String[]>getOutput()protected Map<String,Object>getProperties()protected Map<String,Object>loadFromPropertyStrings(List<String> settings)static voidsaveOldExternalComponentConfigItems(String[] components)
-
-
-
Method Detail
-
convert
public void convert(String[] args, Path tdslPath) throws IOException, ConfigReader.ConfigException
-
detectPathAndFormat
protected OldConfigHolder.Format detectPathAndFormat()
-
loadFromPropertyStrings
protected Map<String,Object> loadFromPropertyStrings(List<String> settings)
-
convertFromOldFormat
protected void convertFromOldFormat() throws ConfigReader.ConfigException- Throws:
ConfigReader.ConfigException
-
saveOldExternalComponentConfigItems
public static void saveOldExternalComponentConfigItems(String[] components)
-
-