Skip to content

developerlee79/simple-dev-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Dev Utilities



Upload seemingly trivial utilities that may appear useless at first glance but could prove to be unexpectedly necessary or valuable


TOC

.properties -> .yaml format converter


.properties -> .yaml format converter

Convert .properties file format to .yaml file format.

class Test {

    @Test
    fun convertPropertiesToYaml() {
        // given
        val propertyString = "kotlin.code.style=official"
        // when
        val yamlConverter = YamlConverter()
        val yamlString = yamlConverter.convertToYaml(propertyString)
        // then
        require("kotlin: \n   code: \n      style: official\n\n" == yamlString)
    }
    
}

About

Simple utilities for doing bothersome things

Resources

License

Stars

Watchers

Forks

Languages