code: private static Environment of(@NonNull InputStream is) {
          try {
              var environment = new Environment();
              environment.props.load(new InputStreamReader(is, "UTF-8"));
              return environment;
          } catch (IOException e) {
              throw new IllegalStateException(e);
          } finally {
              IOKit.closeQuietly(is);
          }
      }
docs: Load InputStream to Environment
  
  @param is InputStream instance
  @return return Environment instance