private static List<AttributeDescriptor> hack(ShapefileAttributeReader delegate) {
   int attributeCount = delegate.getAttributeCount();
   List<AttributeDescriptor> descriptors =
       new ArrayList<AttributeDescriptor>(delegate.getAttributeCount());
   for (int attributeIndex = 0; attributeIndex < attributeCount; ++attributeIndex) {
     descriptors.add(delegate.getAttributeType(attributeIndex));
   }
   return descriptors;
 }
  /**
   * Hack method to display all the attributes within the various files
   *
   * @throws IOException
   */
  public void logCurrentRecord() throws IOException {
    LOGGER.log(Level.FINE, "###################################################");
    LOGGER.log(Level.FINE, "Debug record info for record #" + getRecordNumber());
    LOGGER.log(Level.FINE, "###################################################");

    // Log new shapefile record info
    LOGGER.log(Level.FINE, "# Shapefile Record for #" + getRecordNumber() + " : ");
    for (int i = 0; i < delegate.getAttributeCount(); i++) {

      LOGGER.log(
          Level.FINE,
          ""
              + i
              + ": "
              + delegate.getAttributeType(i).getLocalName()
              + " : "
              + delegate.read(i).toString());
    }

    // Log new animation record info
    LOGGER.log(
        Level.FINE,
        "# Animation Record for #" + getRecordNumber() + ", NHRU: " + animationRecord.getNHRU());
    LOGGER.log(
        Level.FINE,
        "0: " + recordEntryDescriptors[0].getName() + " : " + animationRecord.getTimeStamp());
    LOGGER.log(
        Level.FINE,
        "1: " + recordEntryDescriptors[1].getName() + " : " + animationRecord.getNHRU());
    for (int i = 2; i < animationRecord.getColumnCount(); i++) {

      LOGGER.log(
          Level.FINE,
          ""
              + i
              + ": "
              + recordEntryDescriptors[i].getName()
              + " : "
              + animationRecord.getValue(i));
    }
    LOGGER.log(Level.FINE, "###################################################");
  }