Package org.apache.lucene.store
Class SimpleFSDirectory.SimpleFSIndexInput.Descriptor
- java.lang.Object
-
- java.io.RandomAccessFile
-
- org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
-
- All Implemented Interfaces:
Closeable
,DataInput
,DataOutput
,AutoCloseable
- Enclosing class:
- SimpleFSDirectory.SimpleFSIndexInput
protected static class SimpleFSDirectory.SimpleFSIndexInput.Descriptor extends RandomAccessFile
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
isOpen
-
Constructor Summary
Constructors Constructor Description Descriptor(File file, String mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
-
Methods inherited from class java.io.RandomAccessFile
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
-
-
-
-
Constructor Detail
-
Descriptor
public Descriptor(File file, String mode) throws IOException
- Throws:
IOException
-
-
Method Detail
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classRandomAccessFile
- Throws:
IOException
-
-