public class ScopFactory
extends java.lang.Object
Defaults to a RemoteScopInstallation, which is fast for small numbers
of queries. For many queries, a ScopInstallation instance may be faster,
since it makes only one network request.
Example: Fetch the structure corresponding to an old version of scop
ScopInstallation scop = new ScopInstallation();
scop.setScopVersion("1.69");
ScopFactory.setScopDatabase(scop);
AtomCache cache = new AtomCache();
cache.setFetchFileEvenIfObsolete(true); //fetch older PDBs
cache.setStrictSCOP(false); // correct simple errors in domain names
Structure s = cache.getStructure("d3hbia_");| Constructor and Description |
|---|
ScopFactory() |
| Modifier and Type | Method and Description |
|---|---|
static ScopDatabase |
getSCOP() |
static void |
setScopDatabase(ScopDatabase s) |
public static ScopDatabase getSCOP()
public static void setScopDatabase(ScopDatabase s)