class StringSimpleFieldActions implements AtlasFieldAction {

    @AtlasActionProcessor
    public static String separateByDash(SeparateByDash action, String input) {
        if (input == null || input.length() == 0) {
            return input;
        }
        return STRING_SEPARATOR_PATTERN.matcher(input).replaceAll("-");
    }

}