public class MZXMLRunHeaderParser extends XmlBasedRunHeaderParser
| Modifier and Type | Field and Description |
|---|---|
protected MZXMLFile |
source |
static String |
TAG_MSRUN |
static String |
TAG_SCAN |
| Constructor and Description |
|---|
MZXMLRunHeaderParser(MZXMLFile source) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
convertJAXBObjectToDomain(Class<T> clazz,
Object unmarshalled) |
AbstractFile |
getAbstractFile() |
protected InputStream |
getRunHeaderInputStream(OffsetLength msRunLocation)
Reads the whole msRun header portion from the file, appending a closing
</msRun> tag to the end,
so that it could be unmarshalled using JAXB without errors. |
LCMSRunInfo |
parse() |
locateRunHeader, parseHeaderWithJAXBprotected MZXMLFile source
public static final String TAG_MSRUN
public static final String TAG_SCAN
public MZXMLRunHeaderParser(MZXMLFile source)
public LCMSRunInfo 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
</msRun> tag to the end,
so that it could be unmarshalled using JAXB without errors.getRunHeaderInputStream in class XmlBasedRunHeaderParsermsRunLocation - RunHeaderParsingExceptionpublic AbstractFile getAbstractFile()
getAbstractFile in class XmlBasedRunHeaderParserCopyright © 2017. All rights reserved.