org.fourthline.cling.model.types
Class PragmaType

java.lang.Object
  extended by org.fourthline.cling.model.types.PragmaType

public class PragmaType
extends Object

Author:
Mario Franco

Constructor Summary
PragmaType(String value)
           
PragmaType(String token, String value)
           
PragmaType(String token, String value, boolean quote)
           
 
Method Summary
 String getString()
           
 String getToken()
           
 String getValue()
           
static PragmaType valueOf(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PragmaType

public PragmaType(String token,
                  String value,
                  boolean quote)

PragmaType

public PragmaType(String token,
                  String value)

PragmaType

public PragmaType(String value)
Method Detail

getToken

public String getToken()
Returns:
the token

getValue

public String getValue()
Returns:
the value

getString

public String getString()
Returns:
String format of Bytes Range for response message header

valueOf

public static PragmaType valueOf(String s)
                          throws InvalidValueException
Throws:
InvalidValueException


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