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

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

public class ProtocolInfo
extends Object


Field Summary
protected  String additionalInfo
           
protected  String contentFormat
           
protected  String network
           
protected  Protocol protocol
           
static String WILDCARD
           
 
Constructor Summary
ProtocolInfo(org.teleal.common.util.MimeType contentFormatMimeType)
           
ProtocolInfo(Protocol protocol, String network, String contentFormat, String additionalInfo)
           
ProtocolInfo(String contentFormat)
           
 
Method Summary
static ProtocolInfo fromString(String s)
           
 String getAdditionalInfo()
           
 String getContentFormat()
           
 org.teleal.common.util.MimeType getContentFormatMimeType()
           
 String getNetwork()
           
 Protocol getProtocol()
           
 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 String WILDCARD
See Also:
Constant Field Values

protocol

protected Protocol protocol

network

protected String network

contentFormat

protected String contentFormat

additionalInfo

protected String additionalInfo
Constructor Detail

ProtocolInfo

public ProtocolInfo(String contentFormat)

ProtocolInfo

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

ProtocolInfo

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

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()

fromString

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

toString

public String toString()
Overrides:
toString in class Object


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