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