Protege 4.1.0

uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine
Class DotProcess

java.lang.Object
  extended by uk.ac.man.cs.mig.util.graph.layout.dotlayoutengine.DotProcess

public class DotProcess
extends Object

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jan 16, 2004

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm

A wrapper for a native dot process.


Constructor Summary
DotProcess()
          Contructs a DotProcess, and starts the native dot process.
 
Method Summary
protected  void killProcess()
          Kills the native dot process (if it was started successfully).
 boolean startProcess(String fileName)
          Lays out a graph using the dot application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotProcess

public DotProcess()
Contructs a DotProcess, and starts the native dot process. Using the default process path for the particular platfrom being used.

Method Detail

startProcess

public boolean startProcess(String fileName)
Lays out a graph using the dot application

Parameters:
fileName - A file that acts as a 'scratch pad' The graph is read from this file, and then export to the same file in attributed dot format.
Returns:
true if the process completed without any errors, or false if the process did not complete.

killProcess

protected void killProcess()
Kills the native dot process (if it was started successfully).


Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research