FileChannel for a FileDescriptor.
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean | |
| private final FileDescriptor | |
| private final FileDescriptor | |
| private final File |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | close()
Overrides java. Implements java. Closes this random access file stream and releases any system resources associated with the stream. |
| public static FileChannel | |
| private static FileChannel | |
| public FileDescriptor | getFileDescriptor()
Implements org. Returns the corresponding |
| closed | back to summary |
|---|---|
| private final AtomicBoolean closed | |
| fdObj | back to summary |
|---|---|
| private final FileDescriptor fdObj | |
| rafFdOrig | back to summary |
|---|---|
| private final FileDescriptor rafFdOrig | |
| tempPath | back to summary |
|---|---|
| private final File tempPath | |
| RAFChannelProvider | back to summary |
|---|---|
| private RAFChannelProvider(FileDescriptor fdObj) throws IOException | |
| RAFChannelProvider | back to summary |
|---|---|
| private RAFChannelProvider(FileDescriptor fdObj, File tempPath) throws IOException | |
| close | back to summary |
|---|---|
| public synchronized void close() throws IOException Overrides java. Implements java. Doc from java. Closes this random access file stream and releases any system resources associated with the stream. A closed random access file cannot perform input or output operations and cannot be reopened. If this file has an associated channel then the channel is closed as well.
| |
| getFileChannel | back to summary |
|---|---|
| public static FileChannel getFileChannel(FileDescriptor fd) throws IOException | |
| getFileChannel0 | back to summary |
|---|---|
private static FileChannel getFileChannel0(FileDescriptor fd) throws IOException
| |
| getFileDescriptor | back to summary |
|---|---|
| public FileDescriptor getFileDescriptor() Implements org. Doc from org. Returns the corresponding
| |