public final class DtaReader extends AbstractMsReader<PeakAnnotation,MsnSpectrum>
AbstractMsReader.ParseContextacceptUnsortedSpectra, precisionEMPTY_READER| Constructor and Description |
|---|
DtaReader(File file,
PeakList.Precision precision) |
DtaReader(Reader reader,
PeakList.Precision precision) |
DtaReader(Reader reader,
URI spectraSource,
PeakList.Precision precision) |
DtaReader(Reader reader,
URI spectraSource,
PeakList.Precision precision,
PeakProcessorChain<PeakAnnotation> processorChain) |
| Modifier and Type | Method and Description |
|---|---|
MsnSpectrum |
next()
Overridden so that the compiler knows that MsnSpectra are returned by next().
|
protected String |
parseHeader(AbstractMsReader.ParseContext context)
This is called on reader initialization.
|
protected MsnSpectrum |
parseNextEntry(AbstractMsReader.ParseContext context) |
acceptUnsortedSpectra, addPeaksToSpectrum, addPeakToSpectrum, close, getContext, getHeader, hasNext, initpublic DtaReader(File file, PeakList.Precision precision) throws IOException
IOExceptionpublic DtaReader(Reader reader, PeakList.Precision precision) throws IOException
IOExceptionpublic DtaReader(Reader reader, URI spectraSource, PeakList.Precision precision) throws IOException
IOExceptionpublic DtaReader(Reader reader, URI spectraSource, PeakList.Precision precision, PeakProcessorChain<PeakAnnotation> processorChain) throws IOException
IOExceptionprotected String parseHeader(AbstractMsReader.ParseContext context) throws IOException
AbstractMsReaderparseHeader in class AbstractMsReader<PeakAnnotation,MsnSpectrum>context - the parser contextIOExceptionprotected MsnSpectrum parseNextEntry(AbstractMsReader.ParseContext context) throws IOException
parseNextEntry in class AbstractMsReader<PeakAnnotation,MsnSpectrum>IOExceptionpublic MsnSpectrum next() throws IOException
next in interface IterativeReader<MsnSpectrum>next in class AbstractMsReader<PeakAnnotation,MsnSpectrum>IOException - if there is an io exceptionCopyright © 2016. All Rights Reserved.