/** * Returns the boolean value of a given configuration property. The boolean value true * is returned, if the contained string is equal to 'true'. * * @param name the name of the property * @return the boolean value of the property. */ public boolean getBoolProperty (final String name) { return getBoolProperty(name, false); }
/** * Returns a given property as int value. Zero is returned if the * property value is no number or the property is not set. * * @param name the name of the property * @return the parsed number value or zero */ public int getIntProperty (final String name) { return getIntProperty(name, 0); }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (this.extWrapper == null) { this.extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return this.extWrapper; } }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (this.extWrapper == null) { this.extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return this.extWrapper; } }
/** * Returns the boolean value of a given configuration property. The boolean value true * is returned, if the contained string is equal to 'true'. * * @param name the name of the property * @return the boolean value of the property. */ public boolean getBoolProperty (final String name) { return getBoolProperty(name, false); }
/** * Returns a given property as int value. Zero is returned if the * property value is no number or the property is not set. * * @param name the name of the property * @return the parsed number value or zero */ public int getIntProperty (final String name) { return getIntProperty(name, 0); }
/** * Returns the global configuration as extended configuration. * * @return the extended configuration. */ public synchronized ExtendedConfiguration getExtendedConfig () { if (extWrapper == null) { extWrapper = new ExtendedConfigurationWrapper(getGlobalConfig()); } return extWrapper; } }
/** * Returns the boolean value of a given configuration property. The boolean value true * is returned, if the contained string is equal to 'true'. * * @param name the name of the property * @return the boolean value of the property. */ public boolean getBoolProperty (final String name) { return getBoolProperty(name, false); }
/** * Returns a given property as int value. Zero is returned if the * property value is no number or the property is not set. * * @param name the name of the property * @return the parsed number value or zero */ public int getIntProperty (final String name) { return getIntProperty(name, 0); }