Package psidev.psi.mi.jami.tab.io.writer
Class AbstractMitab27BinaryWriter<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>
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitab27BinaryWriter<T,P>
-
- All Implemented Interfaces:
InteractionWriter<T>
- Direct Known Subclasses:
AbstractMitab28BinaryWriter
,LightMitab27BinaryWriter
,Mitab27BinaryEvidenceWriter
,Mitab27BinaryEvidenceWriter
,Mitab27BinaryWriter
,Mitab27ModelledBinaryWriter
,Mitab27ModelledBinaryWriter
public abstract class AbstractMitab27BinaryWriter<T extends BinaryInteraction,P extends Participant> extends AbstractMitab26BinaryWriter<T,P>
Abstract mitab 2.7 writer for binary interactions- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractMitab27BinaryWriter()
Constructor for AbstractMitab27BinaryWriter.AbstractMitab27BinaryWriter(File file)
Constructor for AbstractMitab27BinaryWriter.AbstractMitab27BinaryWriter(OutputStream output)
Constructor for AbstractMitab27BinaryWriter.AbstractMitab27BinaryWriter(Writer writer)
Constructor for AbstractMitab27BinaryWriter.
-
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
-
AbstractMitab27BinaryWriter
public AbstractMitab27BinaryWriter()
Constructor for AbstractMitab27BinaryWriter.
-
AbstractMitab27BinaryWriter
public AbstractMitab27BinaryWriter(File file) throws IOException
Constructor for AbstractMitab27BinaryWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
AbstractMitab27BinaryWriter
public AbstractMitab27BinaryWriter(OutputStream output)
Constructor for AbstractMitab27BinaryWriter.
- 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 Writes the binary interaction and its participants in MITAB 2.7- Overrides:
writeBinary
in classAbstractMitab26BinaryWriter<T extends BinaryInteraction,P extends Participant>
- Parameters:
interaction
- a binary interactiona
- participant ab
- participant b- Throws:
IOException
- if any.
-
-