public void loadFromPath(String resourcePath) throws ConfigurationException {
        InputStream is;
        try {
            is = ResourceUtils.getInputStreamForPath(resourcePath);
        } catch (IOException e) {
            throw new ConfigurationException(e);
        }
        load(is);
    }
Loads data from the specified resource path into this current {@code Ini} instance.  The
resource path may be any value interpretable by the
{@link ResourceUtils#getInputStreamForPath(String) ResourceUtils.getInputStreamForPath} method.

@param resourcePath the resource location of the INI data to load into this instance.
@throws ConfigurationException if the path cannot be loaded
config/core/src/main/java/org/apache/shiro/config/Ini.java