diff options
author | jfrijters <jfrijters> | 2011-08-19 13:20:35 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-08-19 13:20:35 +0400 |
commit | 883965d3543fe43ab960a7010188cd940e0bce9f (patch) | |
tree | 7bddceeb1b39fa13f946adc55359949b180650f2 /openjdk/sun | |
parent | 7f818863d06fead376ecdfd34062cdc70588a4cb (diff) |
Implemented FileSystemProvider.newFileChannel().
Diffstat (limited to 'openjdk/sun')
-rw-r--r-- | openjdk/sun/nio/fs/NetFileSystemProvider.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openjdk/sun/nio/fs/NetFileSystemProvider.java b/openjdk/sun/nio/fs/NetFileSystemProvider.java index fdd09f5e..19ee8fc7 100644 --- a/openjdk/sun/nio/fs/NetFileSystemProvider.java +++ b/openjdk/sun/nio/fs/NetFileSystemProvider.java @@ -69,6 +69,11 @@ final class NetFileSystemProvider extends AbstractFileSystemProvider public SeekableByteChannel newByteChannel(Path path, Set<? extends OpenOption> opts, FileAttribute<?>... attrs) throws IOException { + return newFileChannel(path, opts, attrs); + } + + public FileChannel newFileChannel(Path path, Set<? extends OpenOption> opts, FileAttribute<?>... attrs) throws IOException + { NetPath npath = NetPath.from(path); if (attrs.length != 0) { |