class StringSimpleFieldActions implements AtlasFieldAction {

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

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

}