Class MetalBondConsumerImpl
- java.lang.Object
-
- org.biojava.nbio.structure.io.cif.MetalBondConsumerImpl
-
- All Implemented Interfaces:
CifFileConsumer<Map<String,List<MetalBondDistance>>>
,MetalBondConsumer
public class MetalBondConsumerImpl extends Object implements MetalBondConsumer
Created by andreas on 6/9/16.
-
-
Constructor Summary
Constructors Constructor Description MetalBondConsumerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consume(org.rcsb.cif.model.Category category)
void
finish()
Ultimate setup which can include steps which require several categories to be available and integrate them into the final container.Map<String,List<MetalBondDistance>>
getContainer()
Retrieve the created container representing a CIF file.void
prepare()
Setup routine which initializes a new container.
-
-
-
Constructor Detail
-
MetalBondConsumerImpl
public MetalBondConsumerImpl()
-
-
Method Detail
-
prepare
public void prepare()
Description copied from interface:CifFileConsumer
Setup routine which initializes a new container.- Specified by:
prepare
in interfaceCifFileConsumer<Map<String,List<MetalBondDistance>>>
-
finish
public void finish()
Description copied from interface:CifFileConsumer
Ultimate setup which can include steps which require several categories to be available and integrate them into the final container.- Specified by:
finish
in interfaceCifFileConsumer<Map<String,List<MetalBondDistance>>>
-
consume
public void consume(org.rcsb.cif.model.Category category)
- Specified by:
consume
in interfaceMetalBondConsumer
-
getContainer
public Map<String,List<MetalBondDistance>> getContainer()
Description copied from interface:CifFileConsumer
Retrieve the created container representing a CIF file.- Specified by:
getContainer
in interfaceCifFileConsumer<Map<String,List<MetalBondDistance>>>
- Returns:
- all desired information wrapped as object of type
S
-
-