FileDescriptor (Java Platform SE 7 ) (original) (raw)

public final class FileDescriptor
extends Object
Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes. The main practical use for a file descriptor is to create aFileInputStream or FileOutputStream to contain it.
Applications should not create their own file descriptors.
Since:
JDK1.0
See Also:
FileInputStream, FileOutputStream

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.