Class MmtfStructureWriter
java.lang.Object
org.biojava.nbio.structure.io.mmtf.MmtfStructureWriter
Class to take Biojava structure data and covert to the DataApi for encoding.
Must implement all the functions in
StructureAdapterInterface
.- Since:
- 5.0
- Author:
- Anthony Bradley
-
Constructor Summary
ConstructorDescriptionMmtfStructureWriter
(Structure structure, org.rcsb.mmtf.api.StructureAdapterInterface dataTransferInterface) Pass data from Biojava structure to another generic output type. -
Method Summary
-
Constructor Details
-
MmtfStructureWriter
public MmtfStructureWriter(Structure structure, org.rcsb.mmtf.api.StructureAdapterInterface dataTransferInterface) Pass data from Biojava structure to another generic output type. Loops through the data structure and calls all the set functions.- Parameters:
structure
- the inputStructure
to writedataTransferInterface
- the generic interface that implements all the set methods.
-