Class Mitab28BinaryWriter
- 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<BinaryInteraction,Participant>
-
- psidev.psi.mi.jami.tab.io.writer.Mitab28BinaryWriter
-
- psidev.psi.mi.jami.tab.io.writer.extended.Mitab28BinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteraction>
public class Mitab28BinaryWriter extends Mitab28BinaryWriter
The basic Mitab 2.8 writer for BinaryInteraction- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description Mitab28BinaryWriter()
Constructor for Mitab28BinaryWriter.Mitab28BinaryWriter(File file)
Constructor for Mitab28BinaryWriter.Mitab28BinaryWriter(OutputStream output)
Constructor for Mitab28BinaryWriter.Mitab28BinaryWriter(Writer writer)
Constructor for Mitab28BinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseColumnFeeder()
initialiseColumnFeeder.void
initialiseContext(Map<String,Object> options)
Initialise the context of the InteractionWriter given a map of optionsprotected void
initialiseSubWritersWith(Writer writer)
initialiseSubWritersWith.-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.Mitab28BinaryWriter
close, reset, setBinaryEvidenceWriter, setModelledBinaryWriter, setWriteHeader, start, write
-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.AbstractMitab28BinaryWriter
writeBinary
-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.AbstractMitab25BinaryWriter
end, flush, getColumnFeeder, getVersion, getWriter, hasStarted, isWriteHeader, setColumnFeeder, setStarted, setVersion, write, write, writeHeader
-
-
-
-
Constructor Detail
-
Mitab28BinaryWriter
public Mitab28BinaryWriter()
Constructor for Mitab28BinaryWriter.
-
Mitab28BinaryWriter
public Mitab28BinaryWriter(File file) throws IOException
Constructor for Mitab28BinaryWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab28BinaryWriter
public Mitab28BinaryWriter(OutputStream output)
Constructor for Mitab28BinaryWriter.
- Parameters:
output
- aOutputStream
object.
-
-
Method Detail
-
initialiseContext
public void initialiseContext(Map<String,Object> options)
Initialise the context of the InteractionWriter given a map of options- Specified by:
initialiseContext
in interfaceInteractionWriter<BinaryInteraction>
- Overrides:
initialiseContext
in classMitab28BinaryWriter
- Parameters:
options
- : the options given by the user
-
initialiseColumnFeeder
protected void initialiseColumnFeeder()
initialiseColumnFeeder.
- Overrides:
initialiseColumnFeeder
in classMitab28BinaryWriter
-
initialiseSubWritersWith
protected void initialiseSubWritersWith(Writer writer)
initialiseSubWritersWith.
- Overrides:
initialiseSubWritersWith
in classMitab28BinaryWriter
- Parameters:
writer
- aWriter
object.
-
-