code: protected String readContent(int record) throws IOException, CDKException {
          logger.debug("Current record ", record);
  
          if ((record < 0) || (record >= records)) {
              throw new CDKException("No such record " + record);
          }
          //fireFrameRead();
  
          raFile.seek(index[record][0]);
          int length = (int) index[record][1];
          raFile.read(b, 0, length);
          return new String(b, 0, length);
      }
docs: Reads the record text content into a String.
  
  @param record The record number
  @return  A String representation of the record
  @throws java.io.IOException if error occurs during reading
  @throws org.openscience.cdk.exception.CDKException if the record number is invalid