Class MmtfStructureWriter


  • public class MmtfStructureWriter
    extends Object
    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 Detail

      • 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 input Structure to write
        dataTransferInterface - the generic interface that implements all the set methods.