public abstract class SynchronousFileIOChannel extends AbstractFileIOChannel
FileIOChannel.Enumerator, FileIOChannel.IDfileChannel, id, LOG| 限定符 | 构造器和说明 |
|---|---|
protected |
SynchronousFileIOChannel(FileIOChannel.ID channelID,
boolean writeEnabled) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
Closes the channel.
|
boolean |
isClosed()
Checks whether the channel has been closed.
|
closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSizeprotected SynchronousFileIOChannel(FileIOChannel.ID channelID, boolean writeEnabled) throws IOException
IOExceptionpublic boolean isClosed()
FileIOChannelisClosed 在接口中 FileIOChannelisClosed 在类中 AbstractFileIOChannelpublic void close()
throws IOException
FileIOChannelclose 在接口中 FileIOChannelclose 在类中 AbstractFileIOChannelIOException - Thrown, if an error occurred while waiting for pending requests.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.