code: public final MtasDataItem<T1, T2> getData() throws IOException {
      if (collectorType.equals(DataCollector.COLLECTOR_TYPE_DATA)) {
        return item;
      } else {
        throw new IOException("type " + collectorType + " not supported");
      }
    }
docs: Gets the data.
  
  @return the data
  @throws IOException Signals that an I/O exception has occurred.