Package psidev.psi.mi.jami.tab.io.writer
Class LightMitab26Writer
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter<Interaction,BinaryInteraction,Participant>
-
- psidev.psi.mi.jami.tab.io.writer.LightMitab25Writer
-
- psidev.psi.mi.jami.tab.io.writer.LightMitab26Writer
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
- Direct Known Subclasses:
LightMitab27Writer
public class LightMitab26Writer extends LightMitab25Writer
Mitab 2.6 writer for light interaction- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description LightMitab26Writer()
Constructor for LightMitab26Writer.LightMitab26Writer(File file)
Constructor for LightMitab26Writer.LightMitab26Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for LightMitab26Writer.LightMitab26Writer(OutputStream output)
Constructor for LightMitab26Writer.LightMitab26Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for LightMitab26Writer.LightMitab26Writer(Writer writer)
Constructor for LightMitab26Writer.LightMitab26Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for LightMitab26Writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MitabVersion
getVersion()
getVersion.protected void
initialiseFile(File file)
initialiseFile.protected void
initialiseOutputStream(OutputStream output)
initialiseOutputStream.protected void
initialiseWriter(Writer writer)
initialiseWriter.-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.LightMitab25Writer
initialiseExpansionMethod
-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter
close, end, flush, getBinaryWriter, getExpansionMethod, hasStarted, initialiseContext, isWriteHeader, reset, setBinaryWriter, setExpansionMethod, setStarted, setWriteHeader, start, write, write, write
-
-
-
-
Constructor Detail
-
LightMitab26Writer
public LightMitab26Writer()
Constructor for LightMitab26Writer.
-
LightMitab26Writer
public LightMitab26Writer(File file) throws IOException
Constructor for LightMitab26Writer.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
LightMitab26Writer
public LightMitab26Writer(OutputStream output)
Constructor for LightMitab26Writer.
- Parameters:
output
- aOutputStream
object.
-
LightMitab26Writer
public LightMitab26Writer(Writer writer)
Constructor for LightMitab26Writer.
- Parameters:
writer
- aWriter
object.
-
LightMitab26Writer
public LightMitab26Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for LightMitab26Writer.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
LightMitab26Writer
public LightMitab26Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for LightMitab26Writer.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.
-
LightMitab26Writer
public LightMitab26Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for LightMitab26Writer.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classLightMitab25Writer
- Returns:
- a
MitabVersion
object.
-
initialiseWriter
protected void initialiseWriter(Writer writer)
initialiseWriter.
- Overrides:
initialiseWriter
in classLightMitab25Writer
- Parameters:
writer
- aWriter
object.
-
initialiseOutputStream
protected void initialiseOutputStream(OutputStream output)
initialiseOutputStream.
- Overrides:
initialiseOutputStream
in classLightMitab25Writer
- Parameters:
output
- aOutputStream
object.
-
initialiseFile
protected void initialiseFile(File file) throws IOException
initialiseFile.
- Overrides:
initialiseFile
in classLightMitab25Writer
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
-