protected static class

NIOFSDirectory.NIOFSIndexInput

extends SimpleFSDirectory.SimpleFSIndexInput
java.lang.Object
   ↳ org.apache.lucene.store.IndexInput
     ↳ org.apache.lucene.store.BufferedIndexInput
       ↳ org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
         ↳ org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput

Summary

[Expand]
Inherited Constants
From class org.apache.lucene.store.BufferedIndexInput
[Expand]
Inherited Fields
From class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
From class org.apache.lucene.store.BufferedIndexInput
Public Constructors
NIOFSDirectory.NIOFSIndexInput(File path, int bufferSize, int chunkSize)
Public Methods
void close()
Closes the stream to further operations.
Protected Methods
void newBuffer(byte[] newBuffer)
void readInternal(byte[] b, int offset, int len)
IndexInput methods
[Expand]
Inherited Methods
From class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
From class org.apache.lucene.store.BufferedIndexInput
From class org.apache.lucene.store.IndexInput
From class java.lang.Object
From interface java.io.Closeable

Public Constructors

public NIOFSDirectory.NIOFSIndexInput (File path, int bufferSize, int chunkSize)

Throws
IOException

Public Methods

public void close ()

Closes the stream to further operations.

Throws
IOException

Protected Methods

protected void newBuffer (byte[] newBuffer)

protected void readInternal (byte[] b, int offset, int len)

IndexInput methods

Parameters
b the array to read bytes into
offset the offset in the array to start storing bytes
len the number of bytes to read
Throws
IOException