class ResourceProperties extends Properties {

    public final Map<String, String> getItemMap(final String basePropertyName) {
        Map<String, String> values = new HashMap<>();

        if (basePropertyName == null) {
            return values;
        }

        for (String propertyName : stringPropertyNames()) {
            if (propertyName.startsWith(basePropertyName)) {
                values.put(
                        propertyName.replaceAll(basePropertyName + ".", ""),
                        getProperty(propertyName)
                );
            }
        }
        return values;
    }

    public  ResourceProperties();
    @SuppressFBWarnings( value = "UI_INHERITANCE_UNSAFE_GETRESOURCE", justification = "Not a problem since resourceName should be given" + "relative to root of classpath") public  ResourceProperties(final String resourceName);

}