class StringSimpleFieldActions implements AtlasFieldAction {

    @AtlasActionProcessor
    public static String removeFileExtension(RemoveFileExtension action, String input) {
        if (input == null) {
            return null;
        }

        int ndx = input.lastIndexOf('.');
        return ndx < 0 ? input : input.substring(0, ndx);
    }

}