Package psidev.psi.mi.jami.tab.io.writer
Class Mitab28ModelledWriter
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter<ModelledInteraction,ModelledBinaryInteraction,ModelledParticipant>
-
- psidev.psi.mi.jami.tab.io.writer.Mitab25ModelledWriter
-
- psidev.psi.mi.jami.tab.io.writer.Mitab26ModelledWriter
-
- psidev.psi.mi.jami.tab.io.writer.Mitab27ModelledWriter
-
- psidev.psi.mi.jami.tab.io.writer.Mitab28ModelledWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledInteraction>
public class Mitab28ModelledWriter extends Mitab27ModelledWriter
Mitab 2.8 writer for Modelled interaction- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description Mitab28ModelledWriter()
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(File file)
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(File file, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(OutputStream output)
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(OutputStream output, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(Writer writer)
Constructor for Mitab28ModelledWriter.Mitab28ModelledWriter(Writer writer, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for Mitab28ModelledWriter.
-
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.Mitab25ModelledWriter
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
-
Mitab28ModelledWriter
public Mitab28ModelledWriter()
Constructor for Mitab28ModelledWriter.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(File file) throws IOException
Constructor for Mitab28ModelledWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(OutputStream output)
Constructor for Mitab28ModelledWriter.
- Parameters:
output
- aOutputStream
object.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(Writer writer)
Constructor for Mitab28ModelledWriter.
- Parameters:
writer
- aWriter
object.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(File file, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod) throws IOException
Constructor for Mitab28ModelledWriter.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(OutputStream output, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for Mitab28ModelledWriter.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.
-
Mitab28ModelledWriter
public Mitab28ModelledWriter(Writer writer, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for Mitab28ModelledWriter.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classMitab27ModelledWriter
- Returns:
- a
MitabVersion
object.
-
initialiseWriter
protected void initialiseWriter(Writer writer)
initialiseWriter.
- Overrides:
initialiseWriter
in classMitab27ModelledWriter
- Parameters:
writer
- aWriter
object.
-
initialiseOutputStream
protected void initialiseOutputStream(OutputStream output)
initialiseOutputStream.
- Overrides:
initialiseOutputStream
in classMitab27ModelledWriter
- Parameters:
output
- aOutputStream
object.
-
initialiseFile
protected void initialiseFile(File file) throws IOException
initialiseFile.
- Overrides:
initialiseFile
in classMitab27ModelledWriter
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
-