org.shiwa.fgi.iwir.image
Class ImageCreator

java.lang.Object
  extended by org.shiwa.fgi.iwir.image.ImageCreator

public class ImageCreator
extends java.lang.Object

The Class ImageCreator provides the main method to create a graphical representation of an IWIR workflow.


Constructor Summary
ImageCreator()
           
 
Method Summary
static java.io.File getImage(IWIR iwir, java.lang.String dotLocation, java.lang.String extension, java.lang.String tmpFolder)
          Returns a graphical representation of the given workflow as a File object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageCreator

public ImageCreator()
Method Detail

getImage

public static java.io.File getImage(IWIR iwir,
                                    java.lang.String dotLocation,
                                    java.lang.String extension,
                                    java.lang.String tmpFolder)
Returns a graphical representation of the given workflow as a File object

Parameters:
iwir - the workflow
dotLocation - the path to the executable of dot
extension - the type of file that should be produced
tmpFolder - the directory where the image is stored. If its the empty string or null the image is stored in /tmp.
Returns:
the file containing the graphical representation