org.biojava.bio.structure.io.mmcif
Class ReducedChemCompProvider

java.lang.Object
  extended by org.biojava.bio.structure.io.mmcif.ReducedChemCompProvider
All Implemented Interfaces:
ChemCompProvider

public class ReducedChemCompProvider
extends Object
implements ChemCompProvider

Unlike the DownloadChemCompProvider, this ChemCompProvider 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
ReducedChemCompProvider()
           
 
Method Summary
 ChemComp getChemComp(String recordName)
          Returns a new instance of a chemical component definition.
 ChemComp getEmptyChemComp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReducedChemCompProvider

public ReducedChemCompProvider()
Method Detail

getEmptyChemComp

public ChemComp getEmptyChemComp()

getChemComp

public ChemComp getChemComp(String recordName)
Description copied from interface: ChemCompProvider
Returns a new instance of a chemical component definition.

Specified by:
getChemComp in interface ChemCompProvider
Parameters:
recordName - the ID of the ChemComp
Returns:
a new ChemComp definition.