org.netbeans.jemmy.drivers
Class ArrayDriverInstaller

java.lang.Object
  extended by org.netbeans.jemmy.drivers.ArrayDriverInstaller
All Implemented Interfaces:
DriverInstaller
Direct Known Subclasses:
APIDriverInstaller, DefaultDriverInstaller

public class ArrayDriverInstaller
extends Object
implements DriverInstaller

Auxiliary class making driver registration easier.

Author:
Alexandre Iline (alexandre.iline@sun.com)

Constructor Summary
ArrayDriverInstaller(String[] ids, Object[] drivers)
          Constructs an ArrayDriverInstaller object.
 
Method Summary
 void install()
          Installs drivers from the array passed into constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayDriverInstaller

public ArrayDriverInstaller(String[] ids,
                            Object[] drivers)
Constructs an ArrayDriverInstaller object. Both parameter arrays mush have same length, drivers must keep instances of Driver or LightDriver implementations.

Parameters:
ids - an array of driver IDs
drivers - an array of drivers.
Method Detail

install

public void install()
Installs drivers from the array passed into constructor.

Specified by:
install in interface DriverInstaller