public static FileSystem newFileSystem(String name, Configuration configuration) {
    try {
      URI uri = new URI(URI_SCHEME, name, null, null);
      return newFileSystem(uri, configuration);
    } catch (URISyntaxException e) {
      throw new IllegalArgumentException(e);
    }
  }
Creates a new in-memory file system with the given configuration.

<p>The returned file system uses the given name as the host part of its URI and the URIs of
paths in the file system. For example, given the name {@code my-file-system}, the file system's
URI will be {@code jimfs://my-file-system} and the URI of the path {@code /foo/bar} will be
{@code jimfs://my-file-system/foo/bar}.
jimfs/src/main/java/com/google/common/jimfs/Jimfs.java