/** * Returns the current value of the integer-valued property with the * given name. * Returns the default-default value (<code>0</code>) if there * is no property with the given name, or if the current value * cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the int-valued property */ public int getInt(String name) { return convertToInt(properties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the default value for the integer-valued property * with the given name. * Returns the default-default value (<code>0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public int getDefaultInt(String name) { return convertToInt(defaultProperties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the default value for the integer-valued property * with the given name. * Returns the default-default value (<code>0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public int getDefaultInt(String name) { return convertToInt(defaultProperties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the default value for the integer-valued property * with the given name. * Returns the default-default value (<code>0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public int getDefaultInt(String name) { return convertToInt(defaultProperties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the default value for the integer-valued property * with the given name. * Returns the default-default value (<code>0</code>) if there * is no default property with the given name, or if the default * value cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the default value of the named property */ public int getDefaultInt(String name) { return convertToInt(defaultProperties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the current value of the integer-valued property with the * given name. * Returns the default-default value (<code>0</code>) if there * is no property with the given name, or if the current value * cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the int-valued property */ public int getInt(String name) { return convertToInt(properties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the current value of the integer-valued property with the * given name. * Returns the default-default value (<code>0</code>) if there * is no property with the given name, or if the current value * cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the int-valued property */ public int getInt(String name) { return convertToInt(properties.getProperty(name), INT_DEFAULT_DEFAULT); }
/** * Returns the current value of the integer-valued property with the * given name. * Returns the default-default value (<code>0</code>) if there * is no property with the given name, or if the current value * cannot be treated as an integer. * The given name must not be <code>null</code>. * * @param name the name of the property * @return the int-valued property */ public int getInt(String name) { return convertToInt(properties.getProperty(name), INT_DEFAULT_DEFAULT); }