Class ArrayDriverInstaller

java.lang.Object
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 Details

    • 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 Details

    • install

      public void install()
      Installs drivers from the array passed into constructor.
      Specified by:
      install in interface DriverInstaller