Package org.netbeans.jemmy.drivers
Class ArrayDriverInstaller
java.lang.Object
org.netbeans.jemmy.drivers.ArrayDriverInstaller
- All Implemented Interfaces:
DriverInstaller
- Direct Known Subclasses:
APIDriverInstaller
,DefaultDriverInstaller
Auxiliary class making driver registration easier.
- Author:
- Alexandre Iline (alexandre.iline@sun.com)
-
Constructor Summary
ConstructorsConstructorDescriptionArrayDriverInstaller
(String[] ids, Object[] drivers) Constructs an ArrayDriverInstaller object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
install()
Installs drivers from the array passed into constructor.
-
Constructor Details
-
ArrayDriverInstaller
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 Details
-
install
public void install()Installs drivers from the array passed into constructor.- Specified by:
install
in interfaceDriverInstaller
-