Package psidev.psi.mi.jami.json.binary
Class LightMIJsonBinaryWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.nary.AbstractMIJsonWriter<I>
-
- psidev.psi.mi.jami.json.binary.AbstractMIJsonBinaryWriter<BinaryInteraction>
-
- psidev.psi.mi.jami.json.binary.LightMIJsonBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteraction>
public class LightMIJsonBinaryWriter extends AbstractMIJsonBinaryWriter<BinaryInteraction>
JSON writer for light interactions- Since:
03/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description LightMIJsonBinaryWriter()
Constructor for LightMIJsonBinaryWriter.LightMIJsonBinaryWriter(File file, OntologyTermFetcher fetcher)
Constructor for LightMIJsonBinaryWriter.LightMIJsonBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for LightMIJsonBinaryWriter.LightMIJsonBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for LightMIJsonBinaryWriter.LightMIJsonBinaryWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for LightMIJsonBinaryWriter.LightMIJsonBinaryWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for LightMIJsonBinaryWriter.
-
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
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter()
Constructor for LightMIJsonBinaryWriter.
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter(File file, OntologyTermFetcher fetcher) throws IOException
Constructor for LightMIJsonBinaryWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for LightMIJsonBinaryWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for LightMIJsonBinaryWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for LightMIJsonBinaryWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.processedInteractors
- aMap
object.processedFeatures
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.
-
LightMIJsonBinaryWriter
public LightMIJsonBinaryWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for LightMIJsonBinaryWriter.
- 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<BinaryInteraction>
-
initExpansionMethodInteractionWriter
protected void initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.
- Specified by:
initExpansionMethodInteractionWriter
in classAbstractMIJsonBinaryWriter<BinaryInteraction>
- Parameters:
expansionId
- aInteger
object.
-
-