code: public boolean outputRecord(final String format)
      throws IOException {
      	boolean result = true;
          if (format.equals(CDX)) {
              System.out.println(get().outputCdx(getStrippedFileName()));
          } else if(format.equals(ArchiveFileConstants.DUMP)) {
              // No point digesting if dumping content.
              setDigest(false);
              get().dump();
          } else {
          	result = false;
          }
          return result;
      }
docs: Output passed record using passed format specifier.
  @param format What format to use outputting.
  @throws IOException
  @return True if handled.