Package uk.ac.ebi.jmzml.xml.io

Examples of uk.ac.ebi.jmzml.xml.io.MzMLUnmarshaller


  public void run() {

    setStatus(TaskStatus.PROCESSING);
    logger.info("Started parsing file " + file);

    MzMLUnmarshaller unmarshaller = new MzMLUnmarshaller(file);

    totalScans = unmarshaller
        .getObjectCountForXpath("/run/spectrumList/spectrum");

    MzMLObjectIterator<Spectrum> spectrumIterator = unmarshaller
        .unmarshalCollectionFromXpath("/run/spectrumList/spectrum",
            Spectrum.class);
    try {

      while (spectrumIterator.hasNext()) {
View Full Code Here

TOP

Related Classes of uk.ac.ebi.jmzml.xml.io.MzMLUnmarshaller

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.