Examples of MzMLUnmarshaller


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
Copyright © 2018 www.massapi.com. 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.