public class PsaRegistryClient extends Object implements PdapRegistryClient
| Constructor and Description | 
|---|
PsaRegistryClient(String baseUrl)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
gov.nasa.pds.tools.label.Label | 
getCatalogFile(String missionName,
              String datasetId,
              String filename)
Gets the catalog file from the PSA Registry. 
 | 
uk.ac.starlink.table.StarTable | 
getDataSet(String datasetId)
Gets a single dataset in VOTable format. 
 | 
List<uk.ac.starlink.table.StarTable> | 
getDataSets()
Gets all the datasets. 
 | 
List<uk.ac.starlink.table.StarTable> | 
getDataSets(Date startDate)
Gets datasets starting from a given date. 
 | 
URL | 
getResourceLink(String datasetId)
Gets the resource link associated with the given dataset identifier. 
 | 
gov.nasa.pds.tools.label.Label | 
getVoldescFile(String missionName,
              String datasetId)
Gets the VOLDESC.CAT file. 
 | 
static void | 
main(String[] args)  | 
public PsaRegistryClient(String baseUrl)
baseUrl - The base url of the registry.public List<uk.ac.starlink.table.StarTable> getDataSets() throws PdapRegistryClientException
PdapRegistryClientgetDataSets in interface PdapRegistryClientPdapRegistryClientExceptionpublic List<uk.ac.starlink.table.StarTable> getDataSets(Date startDate) throws PdapRegistryClientException
getDataSets in interface PdapRegistryClientPdapRegistryClientExceptionpublic uk.ac.starlink.table.StarTable getDataSet(String datasetId) throws PdapRegistryClientException
getDataSet in interface PdapRegistryClientdatasetId - The identifier of the dataset to get.PdapRegistryClientException - If an error occurred while connecting
  to the PSA.public URL getResourceLink(String datasetId) throws PdapRegistryClientException
getResourceLink in interface PdapRegistryClientdatasetId - The dataset identifier.PdapRegistryClientException - If an error occurred while getting
  the resource link.public gov.nasa.pds.tools.label.Label getCatalogFile(String missionName, String datasetId, String filename) throws PdapRegistryClientException
getCatalogFile in interface PdapRegistryClientdatasetId - The dataset identifier.filename - The catalog filename.PdapRegistryClientException - If an error occurred while getting
 the catalog file.public gov.nasa.pds.tools.label.Label getVoldescFile(String missionName, String datasetId) throws PdapRegistryClientException
getVoldescFile in interface PdapRegistryClientdatasetId - The dataset identifier.PdapRegistryClientException - If an error occurred while getting
  the VOLDESC.CAT file.public static void main(String[] args)
Copyright © 2010–2018 Planetary Data System. All rights reserved.