public class CliResultParser extends Object
Constructor and Description |
---|
CliResultParser() |
Modifier and Type | Method and Description |
---|---|
static List<Device> |
parseDevices(String devices) |
static int |
parseDimResult(String result) |
static List<Sensor> |
parseSensors(String sensors) |
static boolean |
parseSwitchResult(String result) |
public static List<Device> parseDevices(String devices)
devices
- as a concatenated String.Device
objects.public static List<Sensor> parseSensors(String sensors)
sensors
- as a concatenated String.Sensor
objects.public static boolean parseSwitchResult(String result)
result
- as a String.public static int parseDimResult(String result)
result
- as a String.TelldusException
- if dim result can't be retrieved.Copyright © 2015. All rights reserved.