*/
public PsIdentificationAlgorithmMatchesSection(ArrayList<ExportFeature> exportFeatures, boolean indexes, boolean header, ExportWriter writer) {
ArrayList<ExportFeature> fragmentFeatures = new ArrayList<ExportFeature>();
for (ExportFeature exportFeature : exportFeatures) {
if (exportFeature instanceof PsIdentificationAlgorithmMatchesFeature) {
PsIdentificationAlgorithmMatchesFeature identificationAlgorithmMatchesFeature = (PsIdentificationAlgorithmMatchesFeature) exportFeature;
matchExportFeatures.add(identificationAlgorithmMatchesFeature);
} else if (exportFeature instanceof PsFragmentFeature) {
fragmentFeatures.add(exportFeature);
} else {
throw new IllegalArgumentException("Export feature of type " + exportFeature.getClass() + " not recognized.");