Codearte / props2yaml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Coverage Status Maven Central

Library usage:

String yaml = Props2YAML.fromContent(content).convert();
String yaml = Props2YAML.fromFile(file).convert();
String yaml = Props2YAML.fromFile(path).convert();

or from command line:

$ mvn io.codearte.props2yaml:props2yaml-maven-plugin:convert -Dproperties=application.properties

or

$ wget http://central.maven.org/maven2/io/codearte/props2yaml/props2yaml/0.3/props2yaml-0.3-jar-with-dependencies.jar
$ java -jar props2yaml-0.3-jar-with-dependencies.jar application.properties

There is also IntelliJ IDEA plugin called "Properties to YAML Converter" which provides easy way of using this library

Online converter: https://props2yaml-codearte2foss.rhcloud.com/conversion

About

License:Apache License 2.0


Languages

Language:Java 63.2%Language:Groovy 36.8%