code: public void convertTab(InputStream inputStream, OutputStream outputStream, 
  			boolean forceInteractionToComplex) throws IOException, PsimiTabException {
  
  		// check args
  		if (inputStream == null || outputStream == null) {
  			throw new IllegalArgumentException("convertTab(): " +
  					"one or more null arguments.");
  		}
  
  		// unmarshall the data, close the stream
  		PsimiTabReader reader = new PsimiTabReader();
  		Collection<BinaryInteraction> interactions = reader.read(inputStream);
  		Tab2Xml tab2Xml = new Tab2Xml();
  		EntrySet entrySet;
  		try {
  			entrySet = tab2Xml.convert(interactions);
  		} catch (IllegalAccessException e) {
  			throw new RuntimeException(e);
  		} catch (XmlConversionException e) {
  			throw new RuntimeException(e);
  		}
  		inputStream.close();
  		
  		// convert
  		convert(entrySet, outputStream, forceInteractionToComplex);
  	}
docs: Converts the PSI-MITAB inputStream into BioPAX outputStream.
  Streams will be closed by the converter.
  
  @param inputStream psi-mitab
  @param outputStream biopax
  @param forceInteractionToComplex - always generate Complex instead of MolecularInteraction
  
  @throws IOException when an I/O error occur
  @throws PsimiTabException when there's a problem within the PSI-MITAB parser