Package psidev.psi.mi.jami.tab.io.writer
Class Mitab26EvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
-
- psidev.psi.mi.jami.tab.io.writer.Mitab25EvidenceWriter
-
- psidev.psi.mi.jami.tab.io.writer.Mitab26EvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<InteractionEvidence>
- Direct Known Subclasses:
Mitab27EvidenceWriter
public class Mitab26EvidenceWriter extends Mitab25EvidenceWriter
Mitab 2.6 writer for interaction evidence- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description Mitab26EvidenceWriter()
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(File file)
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(File file, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(OutputStream output)
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(OutputStream output, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(Writer writer)
Constructor for Mitab26EvidenceWriter.Mitab26EvidenceWriter(Writer writer, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab26EvidenceWriter.
-
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.Mitab25EvidenceWriter
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
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter()
Constructor for Mitab26EvidenceWriter.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(File file) throws IOException
Constructor for Mitab26EvidenceWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(OutputStream output)
Constructor for Mitab26EvidenceWriter.
- Parameters:
output
- aOutputStream
object.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(Writer writer)
Constructor for Mitab26EvidenceWriter.
- Parameters:
writer
- aWriter
object.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(OutputStream output, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab26EvidenceWriter.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(File file, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod) throws IOException
Constructor for Mitab26EvidenceWriter.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab26EvidenceWriter
public Mitab26EvidenceWriter(Writer writer, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab26EvidenceWriter.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Overrides:
getVersion
in classMitab25EvidenceWriter
- Returns:
- a
MitabVersion
object.
-
initialiseWriter
protected void initialiseWriter(Writer writer)
initialiseWriter.
- Overrides:
initialiseWriter
in classMitab25EvidenceWriter
- Parameters:
writer
- aWriter
object.
-
initialiseOutputStream
protected void initialiseOutputStream(OutputStream output)
initialiseOutputStream.
- Overrides:
initialiseOutputStream
in classMitab25EvidenceWriter
- Parameters:
output
- aOutputStream
object.
-
initialiseFile
protected void initialiseFile(File file) throws IOException
initialiseFile.
- Overrides:
initialiseFile
in classMitab25EvidenceWriter
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
-