public class PsFragmentSection extends Object
| Constructor and Description |
|---|
PsFragmentSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures,
boolean indexes,
boolean header,
com.compomics.util.io.export.ExportWriter writer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeHeader()
Writes the header of this section.
|
void |
writeSection(String spectrumFile,
String spectrumTitle,
com.compomics.util.experiment.identification.SpectrumIdentificationAssumption spectrumIdentificationAssumption,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
String linePrefix,
com.compomics.util.waiting.WaitingHandler waitingHandler)
Writes the desired section.
|
public PsFragmentSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures, boolean indexes, boolean header, com.compomics.util.io.export.ExportWriter writer)
exportFeatures - The features to export in this section.indexes - A boolean indicating whether the line index should be
written.header - A boolean indicates whether the table header should be
written.writer - The writer which will write to the file.public void writeSection(String spectrumFile, String spectrumTitle, com.compomics.util.experiment.identification.SpectrumIdentificationAssumption spectrumIdentificationAssumption, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, String linePrefix, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException
spectrumFile - The file name of the spectrum.spectrumTitle - The title of the spectrum.spectrumIdentificationAssumption - The spectrum identification of
interest.sequenceProvider - The sequence provider.spectrumProvider - The spectrum provider.identificationParameters - The identification parameters.linePrefix - The line prefix.waitingHandler - The waiting handler.IOException - exception thrown whenever an error occurred while
writing the filepublic void writeHeader()
throws IOException
IOException - exception thrown whenever an error occurred while
writing the fileCopyright © 2021. All rights reserved.