@Test public void newFileSystem() throws IOException { URI uri = URI.create("unix:/bogus.ipc"); Map<String, ?> env = new HashMap<>(); provider.newFileSystem(uri, env); URI u = URI.create("file:/bogus.ipc"); verify(delegate).newFileSystem(u, env); }
@Override public FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IOException { return super.newFileSystem(convert(uri), env); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IOException { return super.newFileSystem(convert(uri), env); } }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IOException { return super.newFileSystem(convert(uri), env); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IOException { return super.newFileSystem(convert(uri), env); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); @Override String getScheme(); @Override FileSystem newFileSystem(final URI uri, final Map<String, ?> env); @Override FileSystem getFileSystem(final URI uri); @Override Path getPath(final URI uri); }
UnixSocketFileSystemProvider extends DelegatingFileSystemProvider { @Override public FileSystem newFileSystem(final URI uri, final Map<String, ?> env) throws IOException { return super.newFileSystem(convert(uri), env); } UnixSocketFileSystemProvider();  UnixSocketFileSystemProvider(final FileSystemProvider delegate); @Override String getScheme(); @Override FileSystem newFileSystem(final URI uri, final Map<String, ?> env); @Override FileSystem getFileSystem(final URI uri); @Override Path getPath(final URI uri);  }