All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.magentys.cinnamon.converter.CamelCaseFieldNameConverter Maven / Gradle / Ivy

There is a newer version: 0.2.0
Show newest version
package io.magentys.cinnamon.converter;

import cucumber.runtime.table.CamelCaseStringConverter;

public class CamelCaseFieldNameConverter implements Converter {

    @Override
    public String convert(final String input) {
        if (input == null || input.isEmpty()) {
            return "";
        }

        return new CamelCaseStringConverter().map(input.replace("/", " "));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy