public class PDBStatus extends Object
All methods query the RCSB Data REST API
| Modifier and Type | Class and Description |
|---|---|
static class |
PDBStatus.Status
Represents a simplified 3 state status of PDB IDs.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_CURRENT_ENDPOINT |
static String |
DEFAULT_RCSB_DATA_API_SERVER |
static String |
STATUS_ENDPOINT |
static String |
STATUS_LIST_ENDPOINT |
| Constructor and Description |
|---|
PDBStatus() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getCurrent(String oldPdbId)
Gets the current version of a PDB ID.
|
static SortedSet<String> |
getCurrentPDBIds()
Returns all current PDB IDs
|
static PDBStatus.Status |
getStatus(String pdbId)
Get the status of a PDB id.
|
static PDBStatus.Status[] |
getStatus(String[] pdbIds)
Get the status of a collection of PDB ids (in a single API query).
|
static void |
main(String[] args) |
public static final String DEFAULT_RCSB_DATA_API_SERVER
public static final String ALL_CURRENT_ENDPOINT
public static final String STATUS_ENDPOINT
public static final String STATUS_LIST_ENDPOINT
public static PDBStatus.Status getStatus(String pdbId) throws IOException
pdbId - the idIOExceptionpublic static PDBStatus.Status[] getStatus(String[] pdbIds) throws IOException
pdbIds - the idsIOExceptiongetStatus(String)public static String getCurrent(String oldPdbId) throws IOException
oldPdbId - the idIOExceptionpublic static SortedSet<String> getCurrentPDBIds() throws IOException
IOException - if a problem occurs retrieving the informationCopyright © 2000–2021 BioJava. All rights reserved.