Closeable
, DataInput
, DataOutput
, AutoCloseable
protected static class SimpleFSDirectory.SimpleFSIndexInput.Descriptor extends RandomAccessFile
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
isOpen |
Constructor | Description |
---|---|
Descriptor(File file,
String mode) |
Modifier and Type | Method | Description |
---|---|---|
void |
close() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public Descriptor(File file, String mode) throws IOException
IOException
public void close() throws IOException
close
in interface AutoCloseable
close
in interface Closeable
close
in class RandomAccessFile
IOException
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.