org.biojava.bio.structure.domain
Class RemotePDPProvider

java.lang.Object
  extended by org.biojava.bio.structure.domain.SerializableCache<String,SortedSet<String>>
      extended by org.biojava.bio.structure.domain.RemotePDPProvider
All Implemented Interfaces:
PDPProvider

public class RemotePDPProvider
extends SerializableCache<String,SortedSet<String>>
implements PDPProvider

A class that provided PDP assignments that are loaded from a remote web server

Author:
Andreas Prlic

Field Summary
static String DEFAULT_SERVER
           
 
Fields inherited from class org.biojava.bio.structure.domain.SerializableCache
cacheFileName, serializedCache
 
Constructor Summary
RemotePDPProvider()
           
RemotePDPProvider(boolean useCache)
           
 
Method Summary
 Structure getDomain(String pdpDomainName, AtomCache cache)
           
 SortedSet<String> getPDPDomainNamesForPDB(String pdbId)
           
 String getServer()
           
static void main(String[] args)
           
 void setServer(String server)
           
 
Methods inherited from class org.biojava.bio.structure.domain.SerializableCache
cache, disableCache, enableCache, flushCache, get, isCacheEnabled, isDebug, reloadFromFile, setDebug
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SERVER

public static final String DEFAULT_SERVER
See Also:
Constant Field Values
Constructor Detail

RemotePDPProvider

public RemotePDPProvider()

RemotePDPProvider

public RemotePDPProvider(boolean useCache)
Method Detail

main

public static void main(String[] args)

getServer

public String getServer()

setServer

public void setServer(String server)

getDomain

public Structure getDomain(String pdpDomainName,
                           AtomCache cache)
Specified by:
getDomain in interface PDPProvider

getPDPDomainNamesForPDB

public SortedSet<String> getPDPDomainNamesForPDB(String pdbId)
Specified by:
getPDPDomainNamesForPDB in interface PDPProvider