Class AbstractMitab28BinaryWriter<T extends BinaryInteraction,​P extends Participant>

    • Constructor Detail

      • AbstractMitab28BinaryWriter

        public AbstractMitab28BinaryWriter()

        Constructor for AbstractMitab28BinaryWriter.

      • AbstractMitab28BinaryWriter

        public AbstractMitab28BinaryWriter​(File file)
                                    throws IOException

        Constructor for AbstractMitab28BinaryWriter.

        Parameters:
        file - a File object.
        Throws:
        IOException - if any.
      • AbstractMitab28BinaryWriter

        public AbstractMitab28BinaryWriter​(OutputStream output)

        Constructor for AbstractMitab28BinaryWriter.

        Parameters:
        output - a OutputStream object.
      • AbstractMitab28BinaryWriter

        public AbstractMitab28BinaryWriter​(Writer writer)

        Constructor for AbstractMitab28BinaryWriter.

        Parameters:
        writer - a Writer object.
    • Method Detail

      • writeBinary

        protected void writeBinary​(T interaction,
                                   P a,
                                   P b)
                            throws IOException
        Writes the binary interaction and its participants in MITAB 2.5 Writes the binary interaction and its participants in MITAB 2.6 Writes the binary interaction and its participants in MITAB 2.7 Writes the binary interaction and its participants in MITAB 2.8
        Overrides:
        writeBinary in class AbstractMitab27BinaryWriter<T extends BinaryInteraction,​P extends Participant>
        Parameters:
        interaction - a binary interaction
        a - participant a
        b - participant b
        Throws:
        IOException - if any.