de.aitools.iv.graphdrawing
Class VisualizationLoader

java.lang.Object
  extended by de.aitools.iv.graphdrawing.VisualizationLoader

public class VisualizationLoader
extends java.lang.Object

Author:
bigben@upb.de, Frank Benteler

Method Summary
static Visualization load(java.lang.String classString, java.lang.String jarFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

load

public static Visualization load(java.lang.String classString,
                                 java.lang.String jarFile)
                          throws java.lang.ClassNotFoundException,
                                 java.lang.ClassCastException,
                                 java.lang.IllegalAccessException,
                                 java.lang.InstantiationException
Parameters:
classString -
jarFile -
Returns:
an instance of the specified visualization, or an exception is thrown, if an error ocured.
Throws:
java.lang.ClassNotFoundException - - if the class cannot be located
java.lang.ClassCastException - - if the class is not derived from de.aitools.visualization.Visualization
java.lang.IllegalAccessException - - if the class or its nullary constructor is not accessible.
java.lang.InstantiationException - - if this Class represents an abstract class, an interface, an array class, a primitive type, or void; or if the class has no nullary constructor; or if the instantiation fails for some other reason.