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 AllChemCompProvider()
public static void downloadFile() throws IOException
IOException
public ChemComp getChemComp(String recordName)
getChemComp
in interface ChemCompProvider
recordName
- the ID of the ChemComp
ChemComp
definition.Copyright © 2000–2019 BioJava. All rights reserved.