docs: public static <T> T loadFromXMLStream(Class<T> configClass, InputStream inputStream) throws Exception {
          Persister persister = new Persister();
          return persister.read(configClass, inputStream);
      }