public short getPropAsShortWithRadix(String key, short def, int radix) {
    return contains(key) ? Short.parseShort(getProp(key), radix) : def;
  }
public short getPropAsShortWithRadix ( String key , short def , int radix ) { return contains ( key ) ? Short . parseShort ( getProp ( key ) , radix ) : def ; }
Get the value of a property as an short, using the given default value if the property is not set.

@param key property key
@param def default value
@param radix radix used to parse the value
@return short value associated with the key or the default value if the property is not set