private static String getAnalysisJobName(final URI uri) {
        final String filename = uri.getPath();
        final int lastIndexOfSlash = filename.lastIndexOf("/");
        final int lastIndexOfFileExtension = filename.lastIndexOf(".analysis.xml");
        return filename.substring(lastIndexOfSlash + 1, lastIndexOfFileExtension);
    }
private static String getAnalysisJobName ( final URI uri ) { final String filename = uri . getPath ( ) ; final int lastIndexOfSlash = filename . lastIndexOf ( "/" ) ; final int lastIndexOfFileExtension = filename . lastIndexOf ( ".analysis.xml" ) ; return filename . substring ( lastIndexOfSlash + 1 , lastIndexOfFileExtension ) ; }
Gets the job name (removing the extension '.analysis.xml')

@return