org.mskcc.psibiopax.converter
Interface PSIMIConverter

All Known Implementing Classes:
PSIMIBioPAXConverter

public interface PSIMIConverter

An interface which provides methods to convert a PSI-MI file.


Method Summary
 boolean convert(psidev.psi.mi.xml.model.EntrySet entrySet, java.io.OutputStream outputStream)
          Converts the psi data in the EntrySet and places into outputstream.
 boolean convert(java.io.InputStream inputStream, java.io.OutputStream outputStream)
          Converts the psi data in inputStream and places into outputStream.
 

Method Detail

convert

boolean convert(java.io.InputStream inputStream,
                java.io.OutputStream outputStream)
                throws java.io.IOException,
                       psidev.psi.mi.xml.PsimiXmlReaderException
Converts the psi data in inputStream and places into outputStream. Streams will be closed by the converter.

Parameters:
inputStream - InputStream
outputStream - OutputStream
Returns:
boolean
Throws:
java.io.IOException
psidev.psi.mi.xml.PsimiXmlReaderException

convert

boolean convert(psidev.psi.mi.xml.model.EntrySet entrySet,
                java.io.OutputStream outputStream)
Converts the psi data in the EntrySet and places into outputstream. Stream will be closed by the converter.

Parameters:
entrySet - EntrySet
outputStream - OutputStream
Returns:
boolean


Copyright © 2011 BioPAX. All Rights Reserved.