Package psidev.psi.mi.jami.json.binary
Class MIJsonModelledWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.binary.AbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.json.binary.MIJsonModelledWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledInteraction>
public class MIJsonModelledWriter extends AbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
The jsonWriter which writes the modelled interactions- Since:
05/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MIJsonModelledWriter()
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(File file, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(File file, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(OutputStream output, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledWriter.MIJsonModelledWriter(Writer writer, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for MIJsonModelledWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseBinaryWriter(File file, OntologyTermFetcher fetcher)
initialiseBinaryWriter.protected void
initialiseBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
initialiseBinaryWriter.protected void
initialiseBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
initialiseBinaryWriter.protected void
initialiseDefaultBinaryWriter()
initialiseDefaultBinaryWriter.protected void
initialiseDefaultExpansionMethod()
initialiseDefaultExpansionMethod.-
Methods inherited from class psidev.psi.mi.jami.json.binary.AbstractMIJsonWriter
close, end, flush, getBinaryWriter, initialiseContext, reset, setBinaryWriter, setExpansionMethod, start, write, write, write
-
-
-
-
Constructor Detail
-
MIJsonModelledWriter
public MIJsonModelledWriter()
Constructor for MIJsonModelledWriter.
-
MIJsonModelledWriter
public MIJsonModelledWriter(File file, OntologyTermFetcher fetcher) throws IOException
Constructor for MIJsonModelledWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
MIJsonModelledWriter
public MIJsonModelledWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonModelledWriter
public MIJsonModelledWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonModelledWriter
public MIJsonModelledWriter(File file, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod) throws IOException
Constructor for MIJsonModelledWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
MIJsonModelledWriter
public MIJsonModelledWriter(OutputStream output, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for MIJsonModelledWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.
-
MIJsonModelledWriter
public MIJsonModelledWriter(Writer writer, OntologyTermFetcher fetcher, ComplexExpansionMethod<ModelledInteraction,ModelledBinaryInteraction> expansionMethod)
Constructor for MIJsonModelledWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
initialiseDefaultExpansionMethod
protected void initialiseDefaultExpansionMethod()
initialiseDefaultExpansionMethod.
- Specified by:
initialiseDefaultExpansionMethod
in classAbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
-
initialiseBinaryWriter
protected void initialiseBinaryWriter(File file, OntologyTermFetcher fetcher) throws IOException
initialiseBinaryWriter.
- Specified by:
initialiseBinaryWriter
in classAbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
initialiseBinaryWriter
protected void initialiseBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
initialiseBinaryWriter.
- Specified by:
initialiseBinaryWriter
in classAbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
initialiseBinaryWriter
protected void initialiseBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
initialiseBinaryWriter.
- Specified by:
initialiseBinaryWriter
in classAbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
initialiseDefaultBinaryWriter
protected void initialiseDefaultBinaryWriter()
initialiseDefaultBinaryWriter.
- Specified by:
initialiseDefaultBinaryWriter
in classAbstractMIJsonWriter<ModelledInteraction,ModelledBinaryInteraction>
-
-