org.fourthline.cling.model.message.header
Class ContentTypeHeader
java.lang.Object
org.fourthline.cling.model.message.header.UpnpHeader<org.seamless.util.MimeType>
org.fourthline.cling.model.message.header.ContentTypeHeader
public class ContentTypeHeader
- extends UpnpHeader<org.seamless.util.MimeType>
- Author:
- Christian Bauer
DEFAULT_CONTENT_TYPE
public static final org.seamless.util.MimeType DEFAULT_CONTENT_TYPE
DEFAULT_CONTENT_TYPE_UTF8
public static final org.seamless.util.MimeType DEFAULT_CONTENT_TYPE_UTF8
ContentTypeHeader
public ContentTypeHeader()
ContentTypeHeader
public ContentTypeHeader(org.seamless.util.MimeType contentType)
ContentTypeHeader
public ContentTypeHeader(String s)
throws InvalidHeaderException
- Throws:
InvalidHeaderException
setString
public void setString(String s)
throws InvalidHeaderException
- Specified by:
setString
in class UpnpHeader<org.seamless.util.MimeType>
- Parameters:
s
- This header's value as a string representation.
- Throws:
InvalidHeaderException
- If the value is invalid for this UPnP header.
getString
public String getString()
- Specified by:
getString
in class UpnpHeader<org.seamless.util.MimeType>
- Returns:
- A string representing this header's value.
isUDACompliantXML
public boolean isUDACompliantXML()
isText
public boolean isText()
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.