public class AllChemCompProvider extends Object implements ChemCompProvider, Runnable
DownloadChemCompProvider that is used by default.| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENTS_FILE_LOCATION |
| Constructor and Description |
|---|
AllChemCompProvider() |
| Modifier and Type | Method and Description |
|---|---|
static void |
downloadFile()
Downloads the components.cif.gz file from the wwPDB site.
|
ChemComp |
getChemComp(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 final String COMPONENTS_FILE_LOCATION
public static void downloadFile()
throws IOException
IOExceptionpublic ChemComp getChemComp(String recordName)
getChemComp in interface ChemCompProviderrecordName - the ID of the ChemCompChemComp definition.Copyright © 2000–2016 BioJava. All rights reserved.