public final class DeviceId extends ElementId
Modifier and Type | Field and Description |
---|---|
static DeviceId |
NONE
Represents either no device, or an unspecified device.
|
Modifier | Constructor and Description |
---|---|
protected |
DeviceId() |
Modifier and Type | Method and Description |
---|---|
static DeviceId |
deviceId(String string)
Creates a device id using the supplied URI string.
|
static DeviceId |
deviceId(URI uri)
Creates a device id using the supplied URI.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
URI |
uri()
Returns the backing URI.
|
public static final DeviceId NONE
public static DeviceId deviceId(URI uri)
uri
- device URIpublic static DeviceId deviceId(String string)
string
- device URI stringpublic URI uri()