[]
        
(Showing Draft Content)

CSJ2K.j2k.util.ParameterList.getIntParameter

getIntParameter Method

getIntParameter(string)

Returns the value of the named parameter as an int. If the parameter has a non-numeric value a NumberFormatException is thrown. If the parameter has a multiple word value than the first word is returned as an int, others are ignored. If the parameter 'pname' is not in the parameter list, an IllegalArgumentException is thrown.

Declaration
public virtual int getIntParameter(string pname)
Parameters
Type Name Description
string pname

The parameter name.

Returns
Type Description
int

the value of the parameter as an int.