|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OpenOption | |
---|---|
org.classpath.icedtea.java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
org.classpath.icedtea.java.nio.file | Define interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
org.classpath.icedtea.java.nio.file.spi | Service-provider classes for the org.classpath.icedtea.java.nio.file package. |
Uses of OpenOption in org.classpath.icedtea.java.nio.channels |
---|
Methods in org.classpath.icedtea.java.nio.channels with parameters of type OpenOption | |
---|---|
static FileChannel |
FileChannel.open(Path file,
OpenOption... options)
Opens or creates a file, returning a file channel to access the file. |
static AsynchronousFileChannel |
AsynchronousFileChannel.open(Path file,
OpenOption... options)
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file. |
Method parameters in org.classpath.icedtea.java.nio.channels with type arguments of type OpenOption | |
---|---|
static AsynchronousFileChannel |
AsynchronousFileChannel.open(Path file,
java.util.Set<? extends OpenOption> options,
java.util.concurrent.ExecutorService executor,
FileAttribute<?>... attrs)
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file. |
static FileChannel |
FileChannel.open(Path file,
java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates a file, returning a file channel to access the file. |
Uses of OpenOption in org.classpath.icedtea.java.nio.file |
---|
Classes in org.classpath.icedtea.java.nio.file that implement OpenOption | |
---|---|
class |
LinkOption
Defines the options as to how symbolic links are handled. |
class |
StandardOpenOption
Defines the standard open options. |
Methods in org.classpath.icedtea.java.nio.file with parameters of type OpenOption | |
---|---|
abstract SeekableByteChannel |
Path.newByteChannel(OpenOption... options)
Opens or creates a file, returning a seekable byte channel to access the file. |
SeekableByteChannel |
FileRef.newByteChannel(OpenOption... options)
Opens the file referenced by this object, returning a seekable byte channel to access the file. |
abstract java.io.OutputStream |
Path.newOutputStream(OpenOption... options)
Opens or creates the file located by this path for writing, returning an output stream to write bytes to the file. |
Method parameters in org.classpath.icedtea.java.nio.file with type arguments of type OpenOption | |
---|---|
abstract SeekableByteChannel |
SecureDirectoryStream.newByteChannel(Path path,
java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates a file in this directory, returning a seekable byte channel to access the file. |
abstract SeekableByteChannel |
Path.newByteChannel(java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates a file, returning a seekable byte channel to access the file. |
abstract java.io.OutputStream |
Path.newOutputStream(java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates the file located by this path for writing, returning an output stream to write bytes to the file. |
Uses of OpenOption in org.classpath.icedtea.java.nio.file.spi |
---|
Methods in org.classpath.icedtea.java.nio.file.spi with parameters of type OpenOption | |
---|---|
SeekableByteChannel |
AbstractPath.newByteChannel(OpenOption... options)
|
java.io.OutputStream |
AbstractPath.newOutputStream(OpenOption... options)
Opens or creates the file located by this path for writing, returning an output stream to write bytes to the file. |
Method parameters in org.classpath.icedtea.java.nio.file.spi with type arguments of type OpenOption | |
---|---|
AsynchronousFileChannel |
FileSystemProvider.newAsynchronousFileChannel(Path path,
java.util.Set<? extends OpenOption> options,
java.util.concurrent.ExecutorService executor,
FileAttribute<?>... attrs)
Opens or creates a file for reading and/or writing, returning an asynchronous file channel to access the file. |
FileChannel |
FileSystemProvider.newFileChannel(Path path,
java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates a file for reading and/or writing, returning a file channel to access the file. |
java.io.OutputStream |
AbstractPath.newOutputStream(java.util.Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Opens or creates the file located by this path for writing, returning an output stream to write bytes to the file. |
|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.