org.fourthline.cling.model.message.header
Class ContentRangeHeader

java.lang.Object
  extended by org.fourthline.cling.model.message.header.UpnpHeader<BytesRange>
      extended by org.fourthline.cling.model.message.header.ContentRangeHeader

public class ContentRangeHeader
extends UpnpHeader<BytesRange>

Author:
Christian Bauer, Mario Franco

Nested Class Summary
 
Nested classes/interfaces inherited from class org.fourthline.cling.model.message.header.UpnpHeader
UpnpHeader.Type
 
Field Summary
static String PREFIX
           
 
Constructor Summary
ContentRangeHeader()
           
ContentRangeHeader(BytesRange value)
           
ContentRangeHeader(String s)
           
 
Method Summary
 String getString()
           
 void setString(String s)
           
 
Methods inherited from class org.fourthline.cling.model.message.header.UpnpHeader
getValue, newInstance, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

ContentRangeHeader

public ContentRangeHeader()

ContentRangeHeader

public ContentRangeHeader(BytesRange value)

ContentRangeHeader

public ContentRangeHeader(String s)
Method Detail

setString

public void setString(String s)
               throws InvalidHeaderException
Specified by:
setString in class UpnpHeader<BytesRange>
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<BytesRange>
Returns:
A string representing this header's value.


Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.