code: public int getIntProperty(String key, int defaultValue) {
          final String value = properties.getProperty(key, String.valueOf(defaultValue));
          return Integer.valueOf(value);
      }
docs: Returns the int value for the specified property. If no such key is found,
  returns the <tt>defaultValue</tt> instead.
  
  @param key the key of the property
  @param defaultValue the default value if no such property is found
  @return an int value
  @see Properties#getProperty(String, String)