public class SptxtWriter extends AbstractSptxtWriter
PeptideSpectrums in sptxt format.| Constructor and Description |
|---|
SptxtWriter(File file,
boolean append,
PeakList.Precision precision) |
SptxtWriter(Writer writer,
PeakList.Precision precision) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
formatAnnotations(int peakIndex,
PeakList<? extends PeakAnnotation> peakList) |
void |
setMaxAnnotationToWrite(int maxAnnotations) |
void |
write(PeptideConsensusSpectrum spectrum) |
void |
write(PeptideSpectrum spectrum) |
protected void |
writeLibId(PeakList peakList,
Peptide peptide,
Writer writer) |
close, formatIntensity, formatMz, setIntensityFormat, setMzFormat, write, writeComment, writeName, writePeakspublic SptxtWriter(Writer writer, PeakList.Precision precision)
public SptxtWriter(File file, boolean append, PeakList.Precision precision) throws IOException
IOExceptionpublic void write(PeptideSpectrum spectrum) throws IOException
IOExceptionpublic void write(PeptideConsensusSpectrum spectrum) throws IOException
IOExceptionprotected String formatAnnotations(int peakIndex, PeakList<? extends PeakAnnotation> peakList) throws IOException
formatAnnotations in class AbstractSptxtWriterIOExceptionprotected void writeLibId(PeakList peakList, Peptide peptide, Writer writer) throws IOException
writeLibId in class AbstractSptxtWriterIOExceptionpublic void setMaxAnnotationToWrite(int maxAnnotations)
Copyright © 2016. All Rights Reserved.