Uses of Class
java.io.FileDescriptor
Packages that use FileDescriptor
Package
Description
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the classes for implementing networking applications.
Defines JDK-specific
channel APIs.-
Uses of FileDescriptor in java.io
Fields in java.io declared as FileDescriptorModifier and TypeFieldDescriptionstatic final FileDescriptorFileDescriptor.errA handle to the standard error stream.static final FileDescriptorFileDescriptor.inA handle to the standard input stream.static final FileDescriptorFileDescriptor.outA handle to the standard output stream.Methods in java.io that return FileDescriptorModifier and TypeMethodDescriptionfinal FileDescriptorFileInputStream.getFD()Returns theFileDescriptorobject that represents the connection to the actual file in the file system being used by thisFileInputStream.final FileDescriptorFileOutputStream.getFD()Returns the file descriptor associated with this stream.final FileDescriptorRandomAccessFile.getFD()Returns the opaque file descriptor object associated with this stream.Constructors in java.io with parameters of type FileDescriptorModifierConstructorDescriptionFileInputStream(FileDescriptor fdObj) Creates aFileInputStreamby using the file descriptorfdObj, which represents an existing connection to an actual file in the file system.FileOutputStream(FileDescriptor fdObj) Creates a file output stream to write to the specified file descriptor, which represents an existing connection to an actual file in the file system.Constructs aFileWritergiven a file descriptor, using the default charset. -
Uses of FileDescriptor in java.lang
Methods in java.lang with parameters of type FileDescriptorModifier and TypeMethodDescriptionvoidSecurityManager.checkRead(FileDescriptor fd) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException.voidSecurityManager.checkWrite(FileDescriptor fd) Deprecated, for removal: This API element is subject to removal in a future version.ThrowsSecurityException. -
Uses of FileDescriptor in java.net
Fields in java.net declared as FileDescriptorModifier and TypeFieldDescriptionprotected FileDescriptorDatagramSocketImpl.fdThe file descriptor object.protected FileDescriptorSocketImpl.fdThe file descriptor object for this socket.Methods in java.net that return FileDescriptorModifier and TypeMethodDescriptionprotected FileDescriptorDatagramSocketImpl.getFileDescriptor()Gets the datagram socket file descriptor.protected FileDescriptorSocketImpl.getFileDescriptor()Returns the value of this socket'sfdfield. -
Uses of FileDescriptor in jdk.nio
Methods in jdk.nio with parameters of type FileDescriptorModifier and TypeMethodDescriptionstatic SelectableChannelChannels.readWriteSelectableChannel(FileDescriptor fd, Channels.SelectableChannelCloser closer) Creates a selectable channel to a file descriptor that supports anoperation-setofOP_READandOP_WRITE.