com.google.caliper
Class Xml

java.lang.Object
  extended by com.google.caliper.Xml

public final class Xml
extends Object

This exists for backwards compatibility with old data, which is stored in XML format. All new data is stored in JSON.


Method Summary
static Environment environmentFromXml(InputStream in)
          Creates an environment by decoding XML from the specified stream.
static Result resultFromXml(InputStream in)
           
static Run runFromXml(InputStream in)
          Creates a result by decoding XML from the specified stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

runFromXml

public static Run runFromXml(InputStream in)
Creates a result by decoding XML from the specified stream. The XML should be consistent with the format emitted by the now deleted runToXml(Run, OutputStream).


environmentFromXml

public static Environment environmentFromXml(InputStream in)
Creates an environment by decoding XML from the specified stream. The XML should be consistent with the format emitted by the now deleted environmentToXml(Environment, OutputStream).


resultFromXml

public static Result resultFromXml(InputStream in)


Copyright © 2009-2011 Google, Inc.. All Rights Reserved.