|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
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(java.lang.String prefix,
java.lang.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,
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 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,
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 FileAttribute in org.classpath.icedtea.java.nio.file.attribute |
---|
Methods in org.classpath.icedtea.java.nio.file.attribute that return FileAttribute | |
---|---|
static FileAttribute<java.util.Set<PosixFilePermission>> |
PosixFilePermissions.asFileAttribute(java.util.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,
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.