TV-Browser 2.7.5 API

captureplugin.drivers
Class DriverFactory

java.lang.Object
  extended by captureplugin.drivers.DriverFactory

public class DriverFactory
extends Object

This Factory returns all availabe Drivers and creates a Device

Author:
bodum

Method Summary
 DeviceIf createDevice(String classname, String devname)
          Creates a Device
 DriverIf[] getDrivers()
          Returns all available Drivers
static DriverFactory getInstance()
          Returns the DriverFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DriverFactory getInstance()
Returns the DriverFactory

Returns:
DriverFactory

getDrivers

public DriverIf[] getDrivers()
Returns all available Drivers

Returns:
All available Drivers

createDevice

public DeviceIf createDevice(String classname,
                             String devname)
Creates a Device

Parameters:
classname - Classname of Driver
devname - Name of Device
Returns:
created Device

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)