public static String rFrameRateToEditRate(String rFrameRate){
  String[] parts=rFrameRate.split("/");
  if (parts.length == 2) {
    return String.format("%s %s",parts[0],parts[1]);
  }
  return String.format("%s %s",rFrameRate,1);
}

public static String rFrameRateToEditRate ( String rFrameRate ) { String [ ] parts = rFrameRate . split ( "/" ) ; if ( parts . length == 2 ) { return String . format ( "%s %s" , parts [ 0 ] , parts [ 1 ] ) ; } return String . format ( "%s %s" , rFrameRate , 1 ) ; }
converts rframerate in a form " 50 / 1 " or " 50 " to the edit rate form " 50 1 " .
