Class PDBDomainProvider
- java.lang.Object
-
- org.biojava.nbio.structure.domain.PDBDomainProvider
-
- All Implemented Interfaces:
DomainProvider
public class PDBDomainProvider extends Object implements DomainProvider
Class to fetch domains through the RCSB's REST API.- Author:
- Spencer Bliven
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_PDB_API_URLstatic StringDEFAULT_PDB_HOST
-
Constructor Summary
Constructors Constructor Description PDBDomainProvider()PDBDomainProvider(String base, int cutoff)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SortedSet<String>getDomainNames(String name)Gets a list of domain representatives for a given PDB ID.SortedSet<String>getRepresentativeDomains()Gets a list of all domain representativesstatic voidmain(String[] args)
-
-
-
Field Detail
-
DEFAULT_PDB_HOST
public static final String DEFAULT_PDB_HOST
- See Also:
- Constant Field Values
-
DEFAULT_PDB_API_URL
public static final String DEFAULT_PDB_API_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PDBDomainProvider
public PDBDomainProvider()
-
PDBDomainProvider
public PDBDomainProvider(String base, int cutoff)
- Parameters:
base-cutoff-
-
-
Method Detail
-
getDomainNames
public SortedSet<String> getDomainNames(String name)
Gets a list of domain representatives for a given PDB ID.- Specified by:
getDomainNamesin interfaceDomainProvider- Parameters:
name- a structure identifier- Returns:
- A list of domain names
-
getRepresentativeDomains
public SortedSet<String> getRepresentativeDomains()
Gets a list of all domain representatives- Specified by:
getRepresentativeDomainsin interfaceDomainProvider- Returns:
- A full list of all representative domains recognized by this provider
-
-