Package com.tinkerforge
Class DeviceFactory
- java.lang.Object
-
- com.tinkerforge.DeviceFactory
-
public class DeviceFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeviceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Device
createDevice(int deviceIdentifier, java.lang.String uid, IPConnection ipcon)
static java.lang.Class<? extends Device>
getDeviceClass(int deviceIdentifier)
static java.lang.String
getDeviceDisplayName(int deviceIdentifier)
-
-
-
Method Detail
-
getDeviceClass
public static java.lang.Class<? extends Device> getDeviceClass(int deviceIdentifier)
-
getDeviceDisplayName
public static java.lang.String getDeviceDisplayName(int deviceIdentifier)
-
createDevice
public static Device createDevice(int deviceIdentifier, java.lang.String uid, IPConnection ipcon) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-