public class UpnpDevice
This class represents an UPnP device.
| Constructor and Description |
|---|
UpnpDevice(java.lang.String id,
java.net.URL dialURL,
java.lang.String friendlyName,
java.lang.String manufacturer,
java.lang.String modelName)
Creates an instance of
class UpnpDevice. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1()
The identifier of the device.
|
java.net.URL |
component2()
The URL of the DIAL service.
|
java.lang.String |
component3()
The friendly name of the device.
|
java.lang.String |
component4()
The manufacturer of the device.
|
java.lang.String |
component5()
The model name.
|
UpnpDevice |
copy(java.lang.String id,
java.net.URL dialURL,
java.lang.String friendlyName,
java.lang.String manufacturer,
java.lang.String modelName)
Creates an instance of
class UpnpDevice. |
boolean |
equals(java.lang.Object p) |
java.net.URL |
getDialURL()
The URL of the DIAL service.
|
java.lang.String |
getFriendlyName()
The friendly name of the device.
|
java.lang.String |
getId()
The identifier of the device.
|
java.lang.String |
getManufacturer()
The manufacturer of the device.
|
java.lang.String |
getModelName()
The model name.
|
int |
hashCode() |
java.lang.String |
toString() |
public UpnpDevice(@NotNull
java.lang.String id,
@NotNull
java.net.URL dialURL,
@NotNull
java.lang.String friendlyName,
@NotNull
java.lang.String manufacturer,
@NotNull
java.lang.String modelName)
Creates an instance of class UpnpDevice.
id - The identifier of the device.dialURL - The URL of the DIAL service.friendlyName - The friendly name of the device.manufacturer - The manufacturer of the device.modelName - The model name.class UpnpDevice@NotNull public java.lang.String getId()
The identifier of the device.
@NotNull public java.net.URL getDialURL()
The URL of the DIAL service.
@NotNull public java.lang.String getFriendlyName()
The friendly name of the device.
@NotNull public java.lang.String getManufacturer()
The manufacturer of the device.
@NotNull public java.lang.String getModelName()
The model name.
@NotNull public java.lang.String component1()
The identifier of the device.
@NotNull public java.net.URL component2()
The URL of the DIAL service.
@NotNull public java.lang.String component3()
The friendly name of the device.
@NotNull public java.lang.String component4()
The manufacturer of the device.
@NotNull public java.lang.String component5()
The model name.
@NotNull public UpnpDevice copy(@NotNull java.lang.String id, @NotNull java.net.URL dialURL, @NotNull java.lang.String friendlyName, @NotNull java.lang.String manufacturer, @NotNull java.lang.String modelName)
Creates an instance of class UpnpDevice.
class UpnpDevice@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)