org.apache.lucene.store
Class NIOFSDirectory.NIOFSIndexInput
java.lang.Object
   org.apache.lucene.store.DataInput
org.apache.lucene.store.DataInput
       org.apache.lucene.store.IndexInput
org.apache.lucene.store.IndexInput
           org.apache.lucene.store.BufferedIndexInput
org.apache.lucene.store.BufferedIndexInput
               org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
                   org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
- All Implemented Interfaces: 
- Closeable, Cloneable
- Enclosing class:
- NIOFSDirectory
- protected static class NIOFSDirectory.NIOFSIndexInput 
- extends SimpleFSDirectory.SimpleFSIndexInput
 
 
 
 
 
 
 
| Method Summary | 
|  void | close()Closes the stream to further operations.
 | 
| protected  void | newBuffer(byte[] newBuffer)
 | 
| protected  void | readInternal(byte[] b,
             int offset,
             int len)IndexInput methods
 | 
 
 
| Methods inherited from class org.apache.lucene.store.BufferedIndexInput | 
| flushBuffer, getBufferSize, getFilePointer, readByte, readBytes, readBytes, readInt, readLong, readVInt, readVLong, seek, setBufferSize | 
 
 
 
 
NIOFSDirectory.NIOFSIndexInput
public NIOFSDirectory.NIOFSIndexInput(File path,
                                      int bufferSize,
                                      int chunkSize)
                               throws IOException
- Throws:
- IOException
newBuffer
protected void newBuffer(byte[] newBuffer)
- 
- Overrides:
- newBufferin class- BufferedIndexInput
 
- 
 
close
public void close()
           throws IOException
- Description copied from class: IndexInput
- Closes the stream to further operations.
 
- 
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- SimpleFSDirectory.SimpleFSIndexInput
 
- 
- Throws:
- IOException
 
readInternal
protected void readInternal(byte[] b,
                            int offset,
                            int len)
                     throws IOException
- Description copied from class: SimpleFSDirectory.SimpleFSIndexInput
- IndexInput methods
 
- 
- Overrides:
- readInternalin class- SimpleFSDirectory.SimpleFSIndexInput
 
- 
- 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
 
Copyright © 2000-2011 Apache Software Foundation.  All Rights Reserved.