Class MmtfStructureWriter


  • public class MmtfStructureWriter
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      MmtfStructureWriter​(Structure structure, org.rcsb.mmtf.api.StructureAdapterInterface dataTransferInterface)
      Pass data from Biojava structure to another generic output type.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.