info.sswap.api.input
Class Inputs

java.lang.Object
  extended by info.sswap.api.input.Inputs

public class Inputs
extends java.lang.Object

Provides convenience functions to create Input objects from different formats and serialize those objects accordingly.

Author:
Evren Sirin

Constructor Summary
Inputs()
           
 
Method Summary
static Input fromJSON(org.json.JSONObject obj)
           
static Input fromSSWAP(SSWAPIndividual ind)
           
static Input fromSSWAP(SSWAPType type)
           
static org.json.JSONObject toJSON(Input input)
           
static java.lang.String toJSONString(Input input)
           
static java.lang.String toPrettyString(Input input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Inputs

public Inputs()
Method Detail

fromSSWAP

public static Input fromSSWAP(SSWAPType type)

fromSSWAP

public static Input fromSSWAP(SSWAPIndividual ind)

fromJSON

public static Input fromJSON(org.json.JSONObject obj)

toJSON

public static org.json.JSONObject toJSON(Input input)

toJSONString

public static java.lang.String toJSONString(Input input)

toPrettyString

public static java.lang.String toPrettyString(Input input)


Copyright (c) 2011, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.