public class PrideMarshaller extends JsonMarshaller
builder, gson
Constructor and Description |
---|
PrideMarshaller()
Create a PRIDE marshaller.
|
Modifier and Type | Method and Description |
---|---|
uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetailList |
getAssayDetailList(String jsonURL)
Convert from JSON to a list of AssaytDetails.
|
uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList |
getFileDetailList(String jsonURL)
Convert from JSON to a list of FileDetails.
|
uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList |
getPeptideDetailList(String jsonURL)
Convert from JSON to a list of ProteinDetails.
|
uk.ac.ebi.pride.archive.web.service.model.project.ProjectDetail |
getProjectDetail(String jsonURL)
Convert from JSON to a list of ProjectDetails.
|
uk.ac.ebi.pride.archive.web.service.model.project.ProjectSummaryList |
getProjectSummaryList(String jsonURL)
Convert from JSON to a list of ProjectDetails.
|
uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList |
getProteinDetailList(String jsonURL)
Convert from JSON to a list of ProteinDetails.
|
protected void |
init()
Initializes the marshaller with (custom) type adapters and date format
|
fromJson, fromJson, fromJson, fromJson, fromJson, fromJson, getJsonStringFromFile, saveObjectToJson, toJson
protected void init()
JsonMarshaller
init
in class JsonMarshaller
public uk.ac.ebi.pride.archive.web.service.model.project.ProjectDetail getProjectDetail(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidpublic uk.ac.ebi.pride.archive.web.service.model.project.ProjectSummaryList getProjectSummaryList(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidpublic uk.ac.ebi.pride.archive.web.service.model.assay.AssayDetailList getAssayDetailList(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidpublic uk.ac.ebi.pride.archive.web.service.model.file.FileDetailList getFileDetailList(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidpublic uk.ac.ebi.pride.archive.web.service.model.protein.ProteinDetailList getProteinDetailList(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidpublic uk.ac.ebi.pride.archive.web.service.model.peptide.PsmDetailList getPeptideDetailList(String jsonURL) throws IOException
jsonURL
- the URL for the JSON objectIOException
- thrown if the webservice is down or the json response
was invalidCopyright © 2016. All rights reserved.