Package org.intermine.client.lists
Class Lists
- java.lang.Object
-
- org.intermine.client.lists.Lists
-
public final class Lists extends java.lang.Object
Utilities for parsing lists from their JSON representation.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemList
parseList(ServiceFactory fac, org.json.JSONObject data)
Parse a list from its representation in JSON.static ItemList
parseListCreationInfo(ServiceFactory factory, java.lang.String data)
Construct a representation of a list from the data returned by a call to create a new list.
-
-
-
Method Detail
-
parseList
public static ItemList parseList(ServiceFactory fac, org.json.JSONObject data)
Parse a list from its representation in JSON.- Parameters:
fac
- The factory for the service that this list belongs to.data
- The data in the list.- Returns:
- A representation of the list.
-
parseListCreationInfo
public static ItemList parseListCreationInfo(ServiceFactory factory, java.lang.String data)
Construct a representation of a list from the data returned by a call to create a new list.- Parameters:
factory
- The factory for the service that this list belongs to.data
- The data in the list.- Returns:
- A representation of the list.
-
-