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