public static byte isValid ( String reportVersion ) { if ( isOlderUnsupportedVersion ( reportVersion ) ) { return REPORT_INVALID_OLDER ; } else if ( isNewerUnsupportedVersion ( reportVersion ) ) { return REPORT_INVALID_NEWER ; } else { return REPORT_VALID ; } }
Test if string version given as parameter is valid meaning is over 2 . 0 and no greater than current engine version