Package psidev.psi.mi.jami.tab.io.writer
Class AbstractMitab26BinaryWriter<T extends BinaryInteraction,P extends Participant>
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitab25BinaryWriter<T,P>
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitab26BinaryWriter<T,P>
-
- All Implemented Interfaces:
InteractionWriter<T>
- Direct Known Subclasses:
AbstractMitab27BinaryWriter
,LightMitab26BinaryWriter
,Mitab26BinaryEvidenceWriter
,Mitab26BinaryEvidenceWriter
,Mitab26BinaryWriter
,Mitab26ModelledBinaryWriter
,Mitab26ModelledBinaryWriter
public abstract class AbstractMitab26BinaryWriter<T extends BinaryInteraction,P extends Participant> extends AbstractMitab25BinaryWriter<T,P>
Abstract class for MITAB 2.6 writer of binary interactions- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractMitab26BinaryWriter()
Constructor for AbstractMitab26BinaryWriter.AbstractMitab26BinaryWriter(File file)
Constructor for AbstractMitab26BinaryWriter.AbstractMitab26BinaryWriter(OutputStream output)
Constructor for AbstractMitab26BinaryWriter.AbstractMitab26BinaryWriter(Writer writer)
Constructor for AbstractMitab26BinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeBinary(T interaction, P a, P b)
Writes the binary interaction and its participants in MITAB 2.5-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.AbstractMitab25BinaryWriter
close, end, flush, getColumnFeeder, getVersion, getWriter, hasStarted, initialiseColumnFeeder, initialiseContext, isWriteHeader, reset, setColumnFeeder, setStarted, setVersion, setWriteHeader, start, write, write, write, writeHeader
-
-
-
-
Constructor Detail
-
AbstractMitab26BinaryWriter
public AbstractMitab26BinaryWriter()
Constructor for AbstractMitab26BinaryWriter.
-
AbstractMitab26BinaryWriter
public AbstractMitab26BinaryWriter(File file) throws IOException
Constructor for AbstractMitab26BinaryWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
AbstractMitab26BinaryWriter
public AbstractMitab26BinaryWriter(OutputStream output)
Constructor for AbstractMitab26BinaryWriter.
- Parameters:
output
- aOutputStream
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- Overrides:
writeBinary
in classAbstractMitab25BinaryWriter<T extends BinaryInteraction,P extends Participant>
- Parameters:
interaction
- a binary interactiona
- participant ab
- participant b- Throws:
IOException
- if any.
-
-