org.teleal.cling.support.model
Class ProtocolInfo
java.lang.Object
org.teleal.cling.support.model.ProtocolInfo
public class ProtocolInfo
- extends Object
Encaspulates a MIME type (content format) and transport, protocol, additional information.
- Author:
- Christian Bauer
WILDCARD
public static final String WILDCARD
- See Also:
- Constant Field Values
protocol
protected Protocol protocol
network
protected String network
contentFormat
protected String contentFormat
additionalInfo
protected String additionalInfo
ProtocolInfo
public ProtocolInfo(String s)
throws org.teleal.cling.model.types.InvalidValueException
- Throws:
org.teleal.cling.model.types.InvalidValueException
ProtocolInfo
public ProtocolInfo(org.teleal.common.util.MimeType contentFormatMimeType)
ProtocolInfo
public ProtocolInfo(Protocol protocol,
String network,
String contentFormat,
String additionalInfo)
getProtocol
public Protocol getProtocol()
getNetwork
public String getNetwork()
getContentFormat
public String getContentFormat()
getContentFormatMimeType
public org.teleal.common.util.MimeType getContentFormatMimeType()
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getAdditionalInfo
public String getAdditionalInfo()
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 © 2010 Teleal GmbH, Switzerland. All Rights Reserved.