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

java.lang.Object
  extended by org.fourthline.cling.model.message.header.UpnpHeader<PragmaType>
      extended by org.fourthline.cling.model.message.header.PragmaHeader

public class PragmaHeader
extends UpnpHeader<PragmaType>

Author:
Christian Bauer, Mario Franco

Nested Class Summary
 
Nested classes/interfaces inherited from class org.fourthline.cling.model.message.header.UpnpHeader
UpnpHeader.Type
 
Constructor Summary
PragmaHeader()
           
PragmaHeader(PragmaType value)
           
PragmaHeader(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
 

Constructor Detail

PragmaHeader

public PragmaHeader()

PragmaHeader

public PragmaHeader(PragmaType value)

PragmaHeader

public PragmaHeader(String s)
Method Detail

setString

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


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