public class AllChemCompProvider extends java.lang.Object implements ChemCompProvider, java.lang.Runnable
DownloadChemCompProvider
that is used by default.Constructor and Description |
---|
AllChemCompProvider() |
Modifier and Type | Method and Description |
---|---|
static void |
checkPath()
make sure all paths are initialized correctly
|
static void |
downloadFile()
Downloads the components.cif.gz file from the wwPDB site.
|
ChemComp |
getChemComp(java.lang.String recordName)
Returns a new instance of a chemical component definition.
|
void |
run()
Do the actual loading of the dictionary in a thread.
|
public static void checkPath()
public static void downloadFile() throws java.io.IOException, java.io.FileNotFoundException
java.io.IOException
java.io.FileNotFoundException
public ChemComp getChemComp(java.lang.String recordName)
getChemComp
in interface ChemCompProvider
recordName
- the ID of the ChemComp
ChemComp
definition.public void run()
run
in interface java.lang.Runnable