getParameterAsHexInt(String parameterName) Gets the parameter as an integer when it is entered as a hex.
Parameters: parameterName - -- The parameter name to fetch.
protected int
getParameterAsInt(String parameterName) Gets the parameter as an integer value.
Parameters: parameterName - -- the parameter name to fetch.
protected long
getParameterAsLong(String parameterName) Gets the parameter as a long value.
Parameters: parameterName - -- the parameter name to fetch.
Returns the value of the named parameter, or null if it is not set. A
zero-length String indicates flag parameter.
Parameters: name - name of parameter to retrieve the value of specified parameter
Gets the parameter value as a boolean.
Parameters: parameterName - the parameter name boolean value of the parameter.
getParameterAsHexInt
protected int getParameterAsHexInt(String parameterName)(Code)
Gets the parameter as an integer when it is entered as a hex.
Parameters: parameterName - -- The parameter name to fetch. -1 if the parameter is not defined in the header.
getParameterAsInt
protected int getParameterAsInt(String parameterName)(Code)
Gets the parameter as an integer value.
Parameters: parameterName - -- the parameter name to fetch. -1 if the parameter is not defined in the header.
getParameterAsLong
protected long getParameterAsLong(String parameterName)(Code)
Gets the parameter as a long value.
Parameters: parameterName - -- the parameter name to fetch. -1 if the parameter is not defined or the parameter as a long.
Gets the parameter value as a URI.
Parameters: parameterName - -- the parameter name value of the parameter as a URI or null if the parameternot present.
Returns the parameter as an object (dont convert to string).
Parameters: name - is the name of the parameter to get. the object associated with the name.
Removes the specified parameter from Parameters of this ParametersHeader.
This method returns silently if the parameter is not part of the
ParametersHeader.
Parameters: name - - a String specifying the parameter name
Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten. A zero-length String indicates flag
parameter.
Parameters: name - - a String specifying the parameter name Parameters: value - - a String specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value.
setParameter
protected void setParameter(String name, int value)(Code)
Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten.
Parameters: name - - a String specifying the parameter name Parameters: value - - an int specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value.
Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten.
Parameters: name - - a String specifying the parameter name Parameters: value - - a boolean specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value.
Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten. A zero-length String indicates flag
parameter.
Parameters: name - - a String specifying the parameter name Parameters: value - - a String specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value.
Sets the value of the specified parameter. If the parameter already had
a value it will be overwritten. A zero-length String indicates flag
parameter.
Parameters: name - - a String specifying the parameter name Parameters: value - - a String specifying the parameter value throws: ParseException - which signals that an error has been reachedunexpectedly while parsing the parameter name or value.
Fields inherited from gov.nist.siplite.header.Header