Package psidev.psi.mi.jami.json.binary
Class MIJsonEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.binary.AbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.json.binary.MIJsonEvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<InteractionEvidence>
public class MIJsonEvidenceWriter extends AbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
The jsonWriter which writes the interaction evidences- Since:
05/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MIJsonEvidenceWriter()
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(File file, OntologyTermFetcher fetcher)
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(File file, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonEvidenceWriter.MIJsonEvidenceWriter(Writer writer, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for MIJsonEvidenceWriter.
-
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
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter()
Constructor for MIJsonEvidenceWriter.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(File file, OntologyTermFetcher fetcher) throws IOException
Constructor for MIJsonEvidenceWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonEvidenceWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonEvidenceWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(File file, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod) throws IOException
Constructor for MIJsonEvidenceWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.- Throws:
IOException
- if any.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(OutputStream output, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for MIJsonEvidenceWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.
-
MIJsonEvidenceWriter
public MIJsonEvidenceWriter(Writer writer, OntologyTermFetcher fetcher, ComplexExpansionMethod<InteractionEvidence,BinaryInteractionEvidence> expansionMethod)
Constructor for MIJsonEvidenceWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.expansionMethod
- aComplexExpansionMethod
object.
-
-
Method Detail
-
initialiseDefaultExpansionMethod
protected void initialiseDefaultExpansionMethod()
initialiseDefaultExpansionMethod.
- Specified by:
initialiseDefaultExpansionMethod
in classAbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
-
initialiseBinaryWriter
protected void initialiseBinaryWriter(File file, OntologyTermFetcher fetcher) throws IOException
initialiseBinaryWriter.
- Specified by:
initialiseBinaryWriter
in classAbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
- 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<InteractionEvidence,BinaryInteractionEvidence>
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
initialiseBinaryWriter
protected void initialiseBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
initialiseBinaryWriter.
- Specified by:
initialiseBinaryWriter
in classAbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
initialiseDefaultBinaryWriter
protected void initialiseDefaultBinaryWriter()
initialiseDefaultBinaryWriter.
- Specified by:
initialiseDefaultBinaryWriter
in classAbstractMIJsonWriter<InteractionEvidence,BinaryInteractionEvidence>
-
-