Class Mitab27Writer
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter<Interaction,BinaryInteraction,Participant>
-
- psidev.psi.mi.jami.tab.io.writer.extended.Mitab25Writer
-
- psidev.psi.mi.jami.tab.io.writer.extended.Mitab26Writer
-
- psidev.psi.mi.jami.tab.io.writer.extended.Mitab27Writer
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
- Direct Known Subclasses:
Mitab28Writer
public class Mitab27Writer extends Mitab26Writer
The simple MITAB 2.7 writer will write interactions using the JAMI interfaces. It will not check for MITAB extended objects (such as MitabAlias and DefaultMitabFeature). The default Complex expansion method is spoke expansion.- Since:
13/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description Mitab27Writer()
Constructor for Mitab27Writer.Mitab27Writer(File file)
Constructor for Mitab27Writer.Mitab27Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab27Writer.Mitab27Writer(OutputStream output)
Constructor for Mitab27Writer.Mitab27Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab27Writer.Mitab27Writer(Writer writer)
Constructor for Mitab27Writer.Mitab27Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab27Writer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MitabVersion
getVersion()
getVersion.protected void
initialiseSubWriters()
initialiseSubWriters.-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.extended.Mitab25Writer
close, getWriter, initialiseExpansionMethod, initialiseFile, initialiseOutputStream, initialiseWriter, reset, setInteractionEvidenceWriter, setModelledInteractionWriter, start, write
-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter
end, flush, getBinaryWriter, getExpansionMethod, hasStarted, initialiseContext, isWriteHeader, setBinaryWriter, setExpansionMethod, setStarted, setWriteHeader, write, write
-
-
-
-
Constructor Detail
-
Mitab27Writer
public Mitab27Writer()
Constructor for Mitab27Writer.
-
Mitab27Writer
public Mitab27Writer(File file) throws IOException
Constructor for Mitab27Writer.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab27Writer
public Mitab27Writer(OutputStream output)
Constructor for Mitab27Writer.
- Parameters:
output
- aOutputStream
object.
-
Mitab27Writer
public Mitab27Writer(Writer writer)
Constructor for Mitab27Writer.
- Parameters:
writer
- aWriter
object.
-
Mitab27Writer
public Mitab27Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab27Writer.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab27Writer
public Mitab27Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab27Writer.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab27Writer
public Mitab27Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab27Writer.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classMitab26Writer
- Returns:
- a
MitabVersion
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Overrides:
initialiseSubWriters
in classMitab26Writer
-
-