public void load(InputStream is) throws ConfigurationException {
        if (is == null) {
            throw new NullPointerException("InputStream argument cannot be null.");
        }
        InputStreamReader isr;
        try {
            isr = new InputStreamReader(is, DEFAULT_CHARSET_NAME);
        } catch (UnsupportedEncodingException e) {
            throw new ConfigurationException(e);
        }
        load(isr);
    }
Loads the INI-formatted text backed by the given InputStream into this instance.  This implementation will
close the input stream after it has finished loading.  It is expected that the stream's contents are
UTF-8 encoded.

@param is the {@code InputStream} from which to read the INI-formatted text
@throws ConfigurationException if unable
config/core/src/main/java/org/apache/shiro/config/Ini.java