public class MZMLRunHeaderParser extends XmlBasedRunHeaderParser
| Modifier and Type | Field and Description |
|---|---|
protected MZMLFile |
source |
static String |
TAG_MZML |
static String |
TAG_RUN |
| Constructor and Description |
|---|
MZMLRunHeaderParser(MZMLFile source) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
convertJAXBObjectToDomain(Class<T> clazz,
Object unmarshalled) |
AbstractFile |
getAbstractFile() |
protected InputStream |
getRunHeaderInputStream(OffsetLength msRunLocation)
Be sure to include all the correct tags in this stream.
|
MZMLRunInfo |
parse() |
locateRunHeader, parseHeaderWithJAXBprotected MZMLFile source
public static final String TAG_MZML
public static final String TAG_RUN
public MZMLRunHeaderParser(MZMLFile source)
public MZMLRunInfo parse() throws RunHeaderParsingException
parse in class XmlBasedRunHeaderParserRunHeaderParsingExceptionprotected <T> T convertJAXBObjectToDomain(Class<T> clazz, Object unmarshalled) throws RunHeaderParsingException
convertJAXBObjectToDomain in class XmlBasedRunHeaderParserRunHeaderParsingExceptionprotected InputStream getRunHeaderInputStream(OffsetLength msRunLocation) throws RunHeaderParsingException
XmlBasedRunHeaderParserMZXMLRunHeaderParser and MZMLRunHeaderParser.getRunHeaderInputStream in class XmlBasedRunHeaderParserRunHeaderParsingExceptionpublic AbstractFile getAbstractFile()
getAbstractFile in class XmlBasedRunHeaderParserCopyright © 2017. All rights reserved.