Class Mitab26Writer
- 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
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
- Direct Known Subclasses:
Mitab27Writer
public class Mitab26Writer extends Mitab25Writer
The simple MITAB 2.6 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 Mitab26Writer()
Constructor for Mitab26Writer.Mitab26Writer(File file)
Constructor for Mitab26Writer.Mitab26Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab26Writer.Mitab26Writer(OutputStream output)
Constructor for Mitab26Writer.Mitab26Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab26Writer.Mitab26Writer(Writer writer)
Constructor for Mitab26Writer.Mitab26Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod)
Constructor for Mitab26Writer.
-
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
-
Mitab26Writer
public Mitab26Writer()
Constructor for Mitab26Writer.
-
Mitab26Writer
public Mitab26Writer(File file) throws IOException
Constructor for Mitab26Writer.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab26Writer
public Mitab26Writer(OutputStream output)
Constructor for Mitab26Writer.
- Parameters:
output
- aOutputStream
object.
-
Mitab26Writer
public Mitab26Writer(Writer writer)
Constructor for Mitab26Writer.
- Parameters:
writer
- aWriter
object.
-
Mitab26Writer
public Mitab26Writer(File file, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab26Writer.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab26Writer
public Mitab26Writer(OutputStream output, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab26Writer.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab26Writer
public Mitab26Writer(Writer writer, ComplexExpansionMethod<Interaction,BinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab26Writer.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classMitab25Writer
- Returns:
- a
MitabVersion
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Overrides:
initialiseSubWriters
in classMitab25Writer
-
-