code: public static StoreReader createReader(InputStream stream, Configuration config) {
      return StoreImpl.createReader(stream, config);
    }
docs: Creates a store reader from the specified <code>stream</code>.
  <p>
  The reader will read the stream and write its content to a temporary file when this method is called. This is
  specifically suited for stream coming from the JAR as a resource. The stream will be closed by this method.
  
  @param stream an input stream on a PalDB store file
  @param config configuration
  @return a store reader