question: public static BigFraction parseEditRate ( String editRate ) { editRate = editRate . contains ( "/" ) ? rFrameRateToEditRate ( editRate ) : editRate ; String [ ] parts = editRate . split ( " " ) ; try { if ( parts . length == 2 ) { return new BigFraction ( Long . parseLong ( parts [ 0 ] ) , Long . parseLong ( parts [ 1 ] ) ) ; } else if ( parts . length == 1 ) { return new BigFraction ( Long . parseLong ( parts [ 0 ] ) ) ; } } catch ( NumberFormatException e ) { throw new ConversionHelperException ( "Incorrect edit rate! Edit rate must consist of two numbers." , e ) ; } throw new ConversionHelperException ( "Incorrect edit rate! Edit rate must consist of two values." ) ; }
target:  Returns a fraction corresponding to the given edit rate string.