NIO2 API

Uses of Interface
org.classpath.icedtea.java.nio.file.OpenOption

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, Set<? extends OpenOption> options, 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, 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  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, 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(Set<? extends OpenOption> options, FileAttribute<?>... attrs)
          Opens or creates a file, returning a seekable byte channel to access the file.
abstract  OutputStream Path.newOutputStream(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)
           
 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, Set<? extends OpenOption> options, 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, Set<? extends OpenOption> options, FileAttribute<?>... attrs)
          Opens or creates a file for reading and/or writing, returning a file channel to access the file.
 OutputStream AbstractPath.newOutputStream(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

Copyright © 2007, 2011, Oracle and/or its affiliates. All rights reserved.