PDPProviderpublic class RemotePDPProvider extends SerializableCache<java.lang.String,java.util.SortedSet<java.lang.String>> implements PDPProvider
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DEFAULT_SERVER |
cacheFileName, serializedCache| Constructor | Description |
|---|---|
RemotePDPProvider() |
|
RemotePDPProvider(boolean useCache) |
| Modifier and Type | Method | Description |
|---|---|---|
Structure |
getDomain(java.lang.String pdpDomainName,
AtomCache cache) |
Get the structure for a particular PDP domain
|
PDPDomain |
getPDPDomain(java.lang.String pdpDomainName) |
Get a StructureIdentifier representing the specified PDP domain.
|
java.util.SortedSet<java.lang.String> |
getPDPDomainNamesForPDB(java.lang.String pdbId) |
Get a list of all PDP domains for a given PDB entry
|
java.lang.String |
getServer() |
|
static void |
main(java.lang.String[] args) |
|
void |
setServer(java.lang.String server) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcache, disableCache, enableCache, flushCache, get, isCacheEnabled, reloadFromFilepublic static final java.lang.String DEFAULT_SERVER
public RemotePDPProvider()
public RemotePDPProvider(boolean useCache)
throws java.io.IOException
useCache - java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException,
StructureException
java.io.IOExceptionStructureExceptionpublic java.lang.String getServer()
public void setServer(java.lang.String server)
public Structure getDomain(java.lang.String pdpDomainName, AtomCache cache) throws java.io.IOException, StructureException
getDomain in interface PDPProviderpdpDomainName - PDP identifier, e.g. "PDP:4HHBAa"cache - AtomCache, responsible for fetching and storing the coordinatesjava.io.IOException - if the server cannot be reachedStructureException - For errors parsing the structurepublic PDPDomain getPDPDomain(java.lang.String pdpDomainName) throws java.io.IOException
getPDPDomain in interface PDPProviderpdpDomainName - PDP domain namejava.io.IOException - if the server cannot be reachedpublic java.util.SortedSet<java.lang.String> getPDPDomainNamesForPDB(java.lang.String pdbId)
throws java.io.IOException
getPDPDomainNamesForPDB in interface PDPProviderpdbId - PDB IDjava.io.IOException - if the server cannot be reached