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 voidinitExpansionMethodInteractionWriter(Integer expansionId)initExpansionMethodInteractionWriter.protected voidinitialiseInteractionWriter()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- aFileobject.fetcher- aOntologyTermFetcherobject.- Throws:
IOException- if any.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
output- aOutputStreamobject.fetcher- aOntologyTermFetcherobject.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
writer- aWriterobject.fetcher- aOntologyTermFetcherobject.
-
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- aWriterobject.fetcher- aOntologyTermFetcherobject.processedInteractors- aMapobject.processedFeatures- aMapobject.processedParticipants- aMapobject.idGenerator- aIncrementalIdGeneratorobject.
-
MIJsonBinaryEvidenceWriter
public MIJsonBinaryEvidenceWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonBinaryEvidenceWriter.
- Parameters:
processedInteractors- aMapobject.processedFeatures- aMapobject.processedParticipants- aMapobject.idGenerator- aIncrementalIdGeneratorobject.
-
-
Method Detail
-
initialiseInteractionWriter
protected void initialiseInteractionWriter()
initialiseInteractionWriter.
- Specified by:
initialiseInteractionWriterin classAbstractMIJsonWriter<BinaryInteractionEvidence>
-
initExpansionMethodInteractionWriter
protected void initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.
- Specified by:
initExpansionMethodInteractionWriterin classAbstractMIJsonBinaryWriter<BinaryInteractionEvidence>- Parameters:
expansionId- aIntegerobject.
-
-