org.teleal.cling.support.connectionmanager.protocolinfo
Class ProtocolInfo

java.lang.Object
  extended by org.teleal.cling.support.connectionmanager.protocolinfo.ProtocolInfo

public class ProtocolInfo
extends java.lang.Object


Field Summary
protected  java.lang.String additionalInfo
           
protected  java.lang.String contentFormat
           
protected  java.lang.String network
           
protected  Protocol protocol
           
static java.lang.String WILDCARD
           
 
Constructor Summary
ProtocolInfo(org.teleal.common.util.MimeType contentFormatMimeType)
           
ProtocolInfo(Protocol protocol, java.lang.String network, java.lang.String contentFormat, java.lang.String additionalInfo)
           
ProtocolInfo(java.lang.String contentFormat)
           
 
Method Summary
static ProtocolInfo fromString(java.lang.String s)
           
 java.lang.String getAdditionalInfo()
           
 java.lang.String getContentFormat()
           
 org.teleal.common.util.MimeType getContentFormatMimeType()
           
 java.lang.String getNetwork()
           
 Protocol getProtocol()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

WILDCARD

public static final java.lang.String WILDCARD
See Also:
Constant Field Values

protocol

protected Protocol protocol

network

protected java.lang.String network

contentFormat

protected java.lang.String contentFormat

additionalInfo

protected java.lang.String additionalInfo
Constructor Detail

ProtocolInfo

public ProtocolInfo(java.lang.String contentFormat)

ProtocolInfo

public ProtocolInfo(org.teleal.common.util.MimeType contentFormatMimeType)

ProtocolInfo

public ProtocolInfo(Protocol protocol,
                    java.lang.String network,
                    java.lang.String contentFormat,
                    java.lang.String additionalInfo)
Method Detail

getProtocol

public Protocol getProtocol()

getNetwork

public java.lang.String getNetwork()

getContentFormat

public java.lang.String getContentFormat()

getContentFormatMimeType

public org.teleal.common.util.MimeType getContentFormatMimeType()
                                                         throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

getAdditionalInfo

public java.lang.String getAdditionalInfo()

fromString

public static ProtocolInfo fromString(java.lang.String s)
                               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.