Package psidev.psi.mi.jami.json.binary
Class MIJsonBinaryEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.nary.AbstractMIJsonWriter<I>
-
- psidev.psi.mi.jami.json.binary.AbstractMIJsonBinaryWriter<BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.json.binary.MIJsonBinaryEvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteractionEvidence>
public class MIJsonBinaryEvidenceWriter extends AbstractMIJsonBinaryWriter<BinaryInteractionEvidence>
JSON writer for InteractionEvidences- Since:
03/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MIJsonBinaryEvidenceWriter()
Constructor for MIJsonBinaryEvidenceWriter.MIJsonBinaryEvidenceWriter(File file, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.MIJsonBinaryEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.MIJsonBinaryEvidenceWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.MIJsonBinaryEvidenceWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonBinaryEvidenceWriter.MIJsonBinaryEvidenceWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonBinaryEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.protected void
initialiseInteractionWriter()
initialiseInteractionWriter.-
Methods inherited from class psidev.psi.mi.jami.json.binary.AbstractMIJsonBinaryWriter
close, flush, getExpansionId, initialiseContext, reset, setExpansionId, writeComplex
-
Methods inherited from class psidev.psi.mi.jami.json.nary.AbstractMIJsonWriter
clear, end, getFetcher, getIdGenerator, getInteractionWriter, getInteractorWriter, getProcessedFeatures, getProcessedInteractors, getProcessedParticipants, getWriter, registerAndWriteInteractor, setFetcher, setInteractionWriter, start, write, write, write, writeEnd, writeStart
-
-
-
-
Constructor Detail
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter()
Constructor for MIJsonBinaryEvidenceWriter.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(File file, OntologyTermFetcher fetcher) throws IOException
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.processedInteractors
- aMap
object.processedFeatures
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
processedInteractors
- aMap
object.processedFeatures
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.
-
-
Method Detail
-
initialiseInteractionWriter
protected void initialiseInteractionWriter()
initialiseInteractionWriter.
- Specified by:
initialiseInteractionWriter
in classAbstractMIJsonWriter<BinaryInteractionEvidence>
-
initExpansionMethodInteractionWriter
protected void initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.
- Specified by:
initExpansionMethodInteractionWriter
in classAbstractMIJsonBinaryWriter<BinaryInteractionEvidence>
- Parameters:
expansionId
- aInteger
object.
-
-