public static String getNameForClassloaderResource(String resourceName) {
        String fileName = resourceName;
        if (resourceName.indexOf('/') != -1) {
            fileName = resourceName.substring(resourceName.lastIndexOf('/') + 1, resourceName.length());
        }
        return fileName;
    }
public static String getNameForClassloaderResource ( String resourceName ) { String fileName = resourceName ; if ( resourceName . indexOf ( '/' ) != - 1 ) { fileName = resourceName . substring ( resourceName . lastIndexOf ( '/' ) + 1 , resourceName . length ( ) ) ; } return fileName ; }
Helper to extract a ClassloaderResources name. <br/>
<br/>
ie: /user/test/file.properties = file.properties

@param resourceName
The name of the resource
@return The name of the given resource