| Modifier | Constructor and Description |
|---|---|
protected |
Parsers()
Only static members.
|
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Map<String,Metadata>> |
parseAndPopulateMetadataMap(JsonObject jsonObject)
Creates a map of metadata from json.
|
static List<Representation> |
parseRepresentations(JsonObject jsonObject)
Parse representations from a file object response.
|
protected Parsers()
public static Map<String,Map<String,Metadata>> parseAndPopulateMetadataMap(JsonObject jsonObject)
jsonObject - metadata json object for metadata field in get /files?fileds=,etadata.scope.template responsepublic static List<Representation> parseRepresentations(JsonObject jsonObject)
jsonObject - representations json object in get response for /files/file-id?fields=representations