Package org.netbeans.jemmy.drivers
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 Summary
Constructors Constructor Description ArrayDriverInstaller(String[] ids, Object[] drivers)
Constructs an ArrayDriverInstaller object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
install()
Installs drivers from the array passed into constructor.
-
-
-
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 IDsdrivers
- an array of drivers.
-
-
Method Detail
-
install
public void install()
Installs drivers from the array passed into constructor.- Specified by:
install
in interfaceDriverInstaller
-
-