Package psidev.psi.mi.jami.tab.io.writer
Class Mitab25EvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.AbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
-
- psidev.psi.mi.jami.tab.io.writer.Mitab25EvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<InteractionEvidence>
- Direct Known Subclasses:
Mitab26EvidenceWriter
public class Mitab25EvidenceWriter extends AbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
The mitab 2.5 writer for interaction evidence- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description Mitab25EvidenceWriter()
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(File file)
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(File file, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(OutputStream output)
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(OutputStream output, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(Writer writer)
Constructor for Mitab25EvidenceWriter.Mitab25EvidenceWriter(Writer writer, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab25EvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MitabVersion
getVersion()
getVersion.protected void
initialiseExpansionMethod(ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
initialiseExpansionMethod.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.AbstractMitabWriter
close, end, flush, getBinaryWriter, getExpansionMethod, hasStarted, initialiseContext, isWriteHeader, reset, setBinaryWriter, setExpansionMethod, setStarted, setWriteHeader, start, write, write, write
-
-
-
-
Constructor Detail
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter()
Constructor for Mitab25EvidenceWriter.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(File file) throws IOException
Constructor for Mitab25EvidenceWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(OutputStream output)
Constructor for Mitab25EvidenceWriter.
- Parameters:
output
- aOutputStream
object.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(Writer writer)
Constructor for Mitab25EvidenceWriter.
- Parameters:
writer
- aWriter
object.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(OutputStream output, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab25EvidenceWriter.
- Parameters:
output
- aOutputStream
object.expansionMethod
- aComplexExpansionMethod
object.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(File file, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod) throws IOException
Constructor for Mitab25EvidenceWriter.
- Parameters:
file
- aFile
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
Mitab25EvidenceWriter
public Mitab25EvidenceWriter(Writer writer, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for Mitab25EvidenceWriter.
- Parameters:
writer
- aWriter
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
getVersion
public MitabVersion getVersion()
getVersion.
- Specified by:
getVersion
in classAbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
- Returns:
- a
MitabVersion
object.
-
initialiseExpansionMethod
protected void initialiseExpansionMethod(ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
initialiseExpansionMethod.
- Specified by:
initialiseExpansionMethod
in classAbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
expansionMethod
- aComplexExpansionMethod
object.
-
initialiseWriter
protected void initialiseWriter(Writer writer)
initialiseWriter.
- Specified by:
initialiseWriter
in classAbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
writer
- aWriter
object.
-
initialiseOutputStream
protected void initialiseOutputStream(OutputStream output)
initialiseOutputStream.
- Specified by:
initialiseOutputStream
in classAbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
output
- aOutputStream
object.
-
initialiseFile
protected void initialiseFile(File file) throws IOException
initialiseFile.
- Specified by:
initialiseFile
in classAbstractMitabWriter<InteractionEvidence,BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
-