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