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

org.openl.rules.serialization.spr.SnakeCaseStrategy Maven / Gradle / Ivy

There is a newer version: 5.27.9
Show newest version
package org.openl.rules.serialization.spr;

public class SnakeCaseStrategy extends SpreadsheetResultBeanPropertyNamingStrategyBase {
    @Override
    public String transform(String name) {
        if (name == null || name.length() == 0) {
            return name;
        }
        return name.toLowerCase();
    }

    @Override
    public String transform(String column, String row) {
        return transform(column) + "_" + transform(row);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy