public static void registerDriver ( Class < ? extends WebcamDriver > clazz ) { if ( clazz == null ) { throw new IllegalArgumentException ( "Webcam driver class to register cannot be null!" ) ; } DRIVERS_CLASS_LIST . add ( clazz ) ; registerDriver ( clazz . getCanonicalName ( ) ) ; }
Register new webcam video driver .