Class Mitab28Writer
- 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
-
- psidev.psi.mi.jami.tab.io.writer.extended.Mitab28Writer
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
public class Mitab28Writer extends Mitab27Writer
The simple MITAB 2.8 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 Mitab28Writer()
Constructor for Mitab28Writer.Mitab28Writer(File file)
Constructor for Mitab28Writer.Mitab28Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab28Writer.Mitab28Writer(OutputStream output)
Constructor for Mitab28Writer.Mitab28Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab28Writer.Mitab28Writer(Writer writer)
Constructor for Mitab28Writer.Mitab28Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab28Writer.
-
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
-
Mitab28Writer
public Mitab28Writer()
Constructor for Mitab28Writer.
-
Mitab28Writer
public Mitab28Writer(File file) throws IOException
Constructor for Mitab28Writer.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab28Writer
public Mitab28Writer(OutputStream output)
Constructor for Mitab28Writer.
- Parameters:
output
- aOutputStream
object.
-
Mitab28Writer
public Mitab28Writer(Writer writer)
Constructor for Mitab28Writer.
- Parameters:
writer
- aWriter
object.
-
Mitab28Writer
public Mitab28Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab28Writer.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab28Writer
public Mitab28Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab28Writer.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab28Writer
public Mitab28Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab28Writer.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classMitab27Writer
- Returns:
- a
MitabVersion
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Overrides:
initialiseSubWriters
in classMitab27Writer
-
-