public int mandatoryParamAsInt ( String key ) { String s = mandatoryParam ( key ) ; return parseInt ( key , s ) ; }
Returns an int value . To be used when parameter is required or has a default value .