org.teleal.cling.model.types
Class DeviceType
java.lang.Object
org.teleal.cling.model.types.DeviceType
- Direct Known Subclasses:
- UDADeviceType
public class DeviceType
- extends Object
PATTERN
public static final Pattern PATTERN
DeviceType
public DeviceType(String namespace,
String type,
int version)
getNamespace
public String getNamespace()
getType
public String getType()
getVersion
public int getVersion()
fromString
public static DeviceType fromString(String s)
throws RuntimeException
- Throws:
RuntimeException
implementsVersion
public boolean implementsVersion(DeviceType that)
getDisplayString
public String getDisplayString()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.