Package org.apache.lucene.store
Class FSDirectory.FSIndexInput
- java.lang.Object
-
- org.apache.lucene.store.IndexInput
-
- org.apache.lucene.store.BufferedIndexInput
-
- org.apache.lucene.store.FSDirectory.FSIndexInput
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- FSDirectory
protected static class FSDirectory.FSIndexInput extends org.apache.lucene.store.BufferedIndexInput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classFSDirectory.FSIndexInput.Descriptor
-
Field Summary
Fields Modifier and Type Field Description protected FSDirectory.FSIndexInput.Descriptorfile
-
Constructor Summary
Constructors Constructor Description FSIndexInput(java.io.File path)FSIndexInput(java.io.File path, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()voidclose()longlength()protected voidreadInternal(byte[] b, int offset, int len)IndexInput methodsprotected voidseekInternal(long position)-
Methods inherited from class org.apache.lucene.store.BufferedIndexInput
getBufferSize, getFilePointer, newBuffer, readByte, readBytes, readBytes, seek, setBufferSize
-
-
-
-
Field Detail
-
file
protected final FSDirectory.FSIndexInput.Descriptor file
-
-
Method Detail
-
readInternal
protected void readInternal(byte[] b, int offset, int len) throws java.io.IOExceptionIndexInput methods- Specified by:
readInternalin classorg.apache.lucene.store.BufferedIndexInput- Throws:
java.io.IOException
-
close
public void close() throws java.io.IOException- Specified by:
closein classorg.apache.lucene.store.IndexInput- Throws:
java.io.IOException
-
seekInternal
protected void seekInternal(long position)
- Specified by:
seekInternalin classorg.apache.lucene.store.BufferedIndexInput
-
length
public long length()
- Specified by:
lengthin classorg.apache.lucene.store.IndexInput
-
clone
public java.lang.Object clone()
- Overrides:
clonein classorg.apache.lucene.store.BufferedIndexInput
-
-