Class PsAnnotationSection
java.lang.Object
eu.isas.peptideshaker.export.sections.PsAnnotationSection
This class outputs the annotation related export features.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionPsAnnotationSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures, boolean indexes, boolean header, com.compomics.util.io.export.ExportWriter writer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidwriteSection(com.compomics.util.experiment.identification.spectrum_annotation.AnnotationParameters annotationPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) Writes the desired section.
-
Constructor Details
-
PsAnnotationSection
public PsAnnotationSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures, boolean indexes, boolean header, com.compomics.util.io.export.ExportWriter writer) Constructor.- Parameters:
exportFeatures- the features to export in this sectionindexes- indicates whether the line index should be writtenheader- indicates whether the table header should be writtenwriter- the writer which will write to the file
-
-
Method Details
-
writeSection
public void writeSection(com.compomics.util.experiment.identification.spectrum_annotation.AnnotationParameters annotationPreferences, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException Writes the desired section.- Parameters:
annotationPreferences- the annotation preferences of the projectwaitingHandler- the waiting handler- Throws:
IOException- exception thrown whenever an error occurred while writing the file.
-