Package org.biojava.nbio.structure.chem
Class ReducedChemCompProvider
- java.lang.Object
-
- org.biojava.nbio.structure.chem.ReducedChemCompProvider
-
- All Implemented Interfaces:
ChemCompProvider
public class ReducedChemCompProvider extends Object implements ChemCompProvider
Unlike theDownloadChemCompProvider
, thisChemCompProvider
does not download any chem comp definitions. It has access to a limited set of files that are part of the biojava distribution.- Since:
- 3.0
- Author:
- Andreas Prlic
-
-
Constructor Summary
Constructors Constructor Description ReducedChemCompProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChemComp
getChemComp(String recordName)
Returns a new instance of a chemical component definition.
-
-
-
Constructor Detail
-
ReducedChemCompProvider
public ReducedChemCompProvider()
-
-
Method Detail
-
getChemComp
public ChemComp getChemComp(String recordName)
Description copied from interface:ChemCompProvider
Returns a new instance of a chemical component definition.- Specified by:
getChemComp
in interfaceChemCompProvider
- Parameters:
recordName
- the ID of theChemComp
- Returns:
- a new
ChemComp
definition.
-
-