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)
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 |
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.
install
public void install()
- Installs drivers from the array passed into constructor.
- Specified by:
install
in interface DriverInstaller