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

    • Constructor Detail

      • AbstractMitab27BinaryWriter

        public AbstractMitab27BinaryWriter()

        Constructor for AbstractMitab27BinaryWriter.

      • AbstractMitab27BinaryWriter

        public AbstractMitab27BinaryWriter​(File file)
                                    throws IOException

        Constructor for AbstractMitab27BinaryWriter.

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

        public AbstractMitab27BinaryWriter​(OutputStream output)

        Constructor for AbstractMitab27BinaryWriter.

        Parameters:
        output - a OutputStream object.
      • AbstractMitab27BinaryWriter

        public AbstractMitab27BinaryWriter​(Writer writer)

        Constructor for AbstractMitab27BinaryWriter.

        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
        Overrides:
        writeBinary in class AbstractMitab26BinaryWriter<T extends BinaryInteraction,​P extends Participant>
        Parameters:
        interaction - a binary interaction
        a - participant a
        b - participant b
        Throws:
        IOException - if any.