NIO2 API
A B C D E F G H I J K L M N O P R S T U V W

C

cancel() - Method in class org.classpath.icedtea.java.nio.file.WatchKey
Cancels the registration with the watch service.
cancelled(A) - Method in interface org.classpath.icedtea.java.nio.channels.CompletionHandler
Invoked when an operation is cancelled by invoking the cancel method.
channel() - Method in class org.classpath.icedtea.java.nio.channels.FileLock
Returns the file channel upon whose file this lock was acquired.
channel() - Method in class org.classpath.icedtea.java.nio.channels.MembershipKey
Returns the channel for which this membership key was created.
Channels - Class in org.classpath.icedtea.java.nio.channels
Utility methods for channels and streams.
checkAccess(AccessMode...) - Method in interface org.classpath.icedtea.java.nio.file.FileRef
Checks the existence and optionally the accessibility of the file referenced by this object.
close() - Method in interface org.classpath.icedtea.java.nio.channels.AsynchronousChannel
Closes this channel.
close() - Method in class org.classpath.icedtea.java.nio.channels.AsynchronousFileChannel
Closes this channel.
close() - Method in class org.classpath.icedtea.java.nio.file.FileSystem
Closes this file system.
close() - Method in class org.classpath.icedtea.java.nio.file.WatchService
Closes this watch service.
close() - Method in class org.classpath.icedtea.java.util.Scanner
Closes this scanner.
ClosedDirectoryStreamException - Exception in org.classpath.icedtea.java.nio.file
Unchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.
ClosedDirectoryStreamException() - Constructor for exception org.classpath.icedtea.java.nio.file.ClosedDirectoryStreamException
Constructs an instance of this class.
ClosedFileSystemException - Exception in org.classpath.icedtea.java.nio.file
Unchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.
ClosedFileSystemException() - Constructor for exception org.classpath.icedtea.java.nio.file.ClosedFileSystemException
Constructs an instance of this class.
ClosedWatchServiceException - Exception in org.classpath.icedtea.java.nio.file
Unchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed.
ClosedWatchServiceException() - Constructor for exception org.classpath.icedtea.java.nio.file.ClosedWatchServiceException
Constructs an instance of this class.
closeUnchecked(Closeable) - Static method in class org.classpath.icedtea.java.io.Inputs
Closes the given data source by invoking its close method.
compareTo(Path) - Method in class org.classpath.icedtea.java.nio.file.Path
Compares two abstract paths lexicographically.
complementOf(DirectoryStream.Filter<T>) - Static method in class org.classpath.icedtea.java.nio.file.DirectoryStreamFilters
Returns a directory stream filter that is the complement of the given filter.
completed(V, A) - Method in interface org.classpath.icedtea.java.nio.channels.CompletionHandler
Invoked when an operation has completed.
CompletionHandler<V,A> - Interface in org.classpath.icedtea.java.nio.channels
A handler for consuming the result of an asynchronous I/O operation.
connect(SocketAddress) - Method in class org.classpath.icedtea.java.nio.channels.AsynchronousDatagramChannel
Connects this channel's socket.
connect(SocketAddress, A, CompletionHandler<Void, ? super A>) - Method in class org.classpath.icedtea.java.nio.channels.AsynchronousSocketChannel
Connects this channel.
connect(SocketAddress) - Method in class org.classpath.icedtea.java.nio.channels.AsynchronousSocketChannel
Connects this channel.
context() - Method in class org.classpath.icedtea.java.nio.file.WatchEvent
Returns the context for the event.
CopyOption - Interface in org.classpath.icedtea.java.nio.file
An object that configures how to copy or move a file.
copyTo(Path, CopyOption...) - Method in class org.classpath.icedtea.java.nio.file.Path
Copy the file located by this path to a target location.
copyTo(Path, CopyOption...) - Method in class org.classpath.icedtea.java.nio.file.spi.AbstractPath
Copy the file located by this path to a target location.
count() - Method in class org.classpath.icedtea.java.nio.file.WatchEvent
Returns the event count.
createDirectory(FileAttribute<?>...) - Method in class org.classpath.icedtea.java.nio.file.Path
Creates a new directory.
createFile(FileAttribute<?>...) - Method in class org.classpath.icedtea.java.nio.file.Path
Creates a new and empty file, failing if the file already exists.
createFile(FileAttribute<?>...) - Method in class org.classpath.icedtea.java.nio.file.spi.AbstractPath
 
createLink(Path) - Method in class org.classpath.icedtea.java.nio.file.Path
Creates a new link (directory entry) for an existing file (optional operation).
createSymbolicLink(Path, FileAttribute<?>...) - Method in class org.classpath.icedtea.java.nio.file.Path
Creates a symbolic link to a target (optional operation).
createTempFile(String, String, boolean, FileAttribute<?>...) - Static method in class org.classpath.icedtea.java.io.File
Creates an empty file in the default temporary-file directory, using the given prefix and suffix to generate its name.
creationTime() - Method in interface org.classpath.icedtea.java.nio.file.attribute.BasicFileAttributes
Returns the creation time if supported.

NIO2 API
A B C D E F G H I J K L M N O P R S T U V W
Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.