org.fourthline.cling.model.types
Class DLNADoc
java.lang.Object
org.fourthline.cling.model.types.DLNADoc
public class DLNADoc
- extends Object
Representing the DLNA document and its version.
Someone ignored the device and service type construct of UPnP
and invented a new and of course much better device type/version * construct.
- Author:
- Christian Bauer
PATTERN
public static final Pattern PATTERN
DLNADoc
public DLNADoc(String devClass,
String version)
DLNADoc
public DLNADoc(String devClass,
DLNADoc.Version version)
getDevClass
public String getDevClass()
getVersion
public String getVersion()
valueOf
public static DLNADoc valueOf(String s)
throws InvalidValueException
- Throws:
InvalidValueException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.