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