code: @Override
      public Object[][] getDataByIndex(int[] indexes) {
          logger.entering(indexes);
  
          Object[][] obj = new Object[indexes.length][1];
          for (int i = 0; i < indexes.length; i++) {
              int actualIndex = indexes[i] + 1;
              obj[i][0] = getSingleExcelRow(getObject(), actualIndex, false);
          }
          logger.exiting((Object[]) obj);
          return obj;
      }
docs: This function will use the input string representing the indexes to collect and return the correct excel sheet
  data rows as two dimensional object to be used as TestNG DataProvider.
  
  @param indexes
  the string represent the keys for the search and return the wanted rows. It is in the format of: <li>
  "1, 2, 3" for individual indexes. <li>"1-4, 6-8, 9-10" for ranges of indexes. <li>
  "1, 3, 5-7, 10, 12-14" for mixing individual and range of indexes.
  @return Object[][] Two dimensional object to be used with TestNG DataProvider