NIO2 API

Uses of Interface
org.classpath.icedtea.java.nio.file.attribute.FileAttribute

Packages that use FileAttribute
org.classpath.icedtea.java.io   
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.attribute Interfaces and classes providing access to file and file system attributes. 
org.classpath.icedtea.java.nio.file.spi Service-provider classes for the org.classpath.icedtea.java.nio.file package. 
 

Uses of FileAttribute in org.classpath.icedtea.java.io
 

Methods in org.classpath.icedtea.java.io with parameters of type FileAttribute
static File File.createTempFile(String prefix, String suffix, boolean deleteOnExit, FileAttribute<?>... attrs)
           Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name.
 

Uses of FileAttribute in org.classpath.icedtea.java.nio.channels
 

Methods in org.classpath.icedtea.java.nio.channels with parameters of type FileAttribute
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 FileAttribute in org.classpath.icedtea.java.nio.file
 

Methods in org.classpath.icedtea.java.nio.file with parameters of type FileAttribute
abstract  Path Path.createDirectory(FileAttribute<?>... attrs)
          Creates a new directory.
abstract  Path Path.createFile(FileAttribute<?>... attrs)
          Creates a new and empty file, failing if the file already exists.
abstract  Path Path.createSymbolicLink(Path target, FileAttribute<?>... attrs)
          Creates a symbolic link to a target (optional operation).
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 FileAttribute in org.classpath.icedtea.java.nio.file.attribute
 

Methods in org.classpath.icedtea.java.nio.file.attribute that return FileAttribute
static FileAttribute<Set<PosixFilePermission>> PosixFilePermissions.asFileAttribute(Set<PosixFilePermission> perms)
          Creates a FileAttribute, encapsulating a copy of the given file permissions, suitable for passing to the createFile or createDirectory methods.
 

Uses of FileAttribute in org.classpath.icedtea.java.nio.file.spi
 

Methods in org.classpath.icedtea.java.nio.file.spi with parameters of type FileAttribute
 Path AbstractPath.createFile(FileAttribute<?>... attrs)
           
 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.