docs: public Reader getReader() throws IOException {
          if (stream != null) {
              Reader reader = new InputStreamReader(stream, configuration.getSourceEncoding());
              stream = null;
              return reader;
          }
          return null;
      }