Searched refs:newFileChannel (Results 1 - 15 of 15) sorted by relevance

/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DAtomicAppend.java46 static FileChannel newFileChannel(File file) throws IOException { method in class:AtomicAppend
88 try (FileChannel fc = newFileChannel(file)) {
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixChannelFactory.java103 static FileChannel newFileChannel(int fd, String path, boolean reading, boolean writing) { method in class:UnixChannelFactory
112 static FileChannel newFileChannel(int dfd, method in class:UnixChannelFactory
144 static FileChannel newFileChannel(UnixPath path, method in class:UnixChannelFactory
149 return newFileChannel(-1, path, null, options, mode);
H A DSolarisUserDefinedFileAttributeView.java150 FileChannel fc = UnixChannelFactory.newFileChannel(afd, file.toString(), true, false);
191 FileChannel fc = UnixChannelFactory.newFileChannel(afd, file.toString(), false, true);
H A DUnixFileSystemProvider.java166 public FileChannel newFileChannel(Path obj, method in class:UnixFileSystemProvider
175 return UnixChannelFactory.newFileChannel(file, options, mode);
212 return UnixChannelFactory.newFileChannel(file, options, mode);
H A DUnixSecureDirectoryStream.java155 return UnixChannelFactory.newFileChannel(dfd, file, pathToCheck, options, mode);
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsUserDefinedFileAttributeView.java224 .newFileChannel(join(file, name), null, opts, 0L);
251 .newFileChannel(join(file, name), null, opts, 0L);
310 .newFileChannel(join(file, name), null, opts, 0L);
H A DWindowsFileSystemProvider.java96 public FileChannel newFileChannel(Path path, method in class:WindowsFileSystemProvider
110 .newFileChannel(file.getPathForWin32Calls(),
225 .newFileChannel(file.getPathForWin32Calls(),
325 .newFileChannel(file.getPathForWin32Calls(),
H A DWindowsChannelFactory.java136 static FileChannel newFileChannel(String pathForWindows, method in class:WindowsChannelFactory
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DFileChannel.java248 * FileSystemProvider#newFileChannel newFileChannel} method on the
287 return provider.newFileChannel(path, options, attrs);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystemProvider.java266 public FileChannel newFileChannel(Path path, method in class:ZipFileSystemProvider
271 return toZipPath(path).newFileChannel(options, attrs);
H A DZipPath.java743 FileChannel newFileChannel(Set<? extends OpenOption> options, method in class:ZipPath
747 return zfs.newFileChannel(getResolvedPath(), options, attrs);
H A DZipFileSystem.java564 // newFileChannel() instead, which dump the entry data into a regular
693 FileChannel newFileChannel(byte[] path, method in class:ZipFileSystem
726 .newFileChannel(tmpfile, options, attrs);
/openjdk7/jdk/src/share/classes/java/nio/file/spi/
H A DFileSystemProvider.java467 public FileChannel newFileChannel(Path path, method in class:FileSystemProvider
/openjdk7/jdk/src/share/demo/nio/zipfs/
H A DDemo.java665 try (FileChannel srcFc = src.getFileSystem().provider().newFileChannel(src, read);
666 FileChannel dstFc = dst.getFileSystem().provider().newFileChannel(dst, openwrite))
/openjdk7/jdk/test/demo/zipfs/
H A DZipFSTester.java182 // newFileChannel() copy in, out and verify via fch
589 .newFileChannel(src, read);
592 .newFileChannel(dst, openwrite))
680 try (SeekableByteChannel sbc = fs.provider().newFileChannel(path, read)) {

Completed in 92 milliseconds