Examples of UnicodeReader


Examples of uk.ac.bbsrc.tgac.miso.core.util.UnicodeReader

              if (r.getSequencerReference() != null) {
                if (run.has("runparams")) {
                  try {
                    Document paramsDoc = SubmissionUtils.emptyDocument();
                    SubmissionUtils.transform(new UnicodeReader(run.getString("runparams")), paramsDoc);

                    Element runInfo = (Element)paramsDoc.getElementsByTagName("run").item(0);
                    String runDesc = runInfo.getElementsByTagName("shortName").item(0).getTextContent();
                    r.setDescription(runDesc);
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.util.UnicodeReader

            else {
              status.setHealth(HealthType.Running);
            }

            Document statusDoc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument();
            SubmissionUtils.transform(new UnicodeReader(j.getString("xml")), statusDoc);
            String runStarted = statusDoc.getElementsByTagName("RunStarted").item(0).getTextContent();
            status.setStartDate(new SimpleDateFormat("EEEE, MMMMM dd, yyyy h:mm aaa").parse(runStarted));
            status.setInstrumentName(statusDoc.getElementsByTagName("InstrumentName").item(0).getTextContent());
            status.setRunName(statusDoc.getElementsByTagName("RunName").item(0).getTextContent());
            s.add(status);
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.