public class NIOFSDirectory extends FSDirectory
FSDirectory
FSDirectory.FSIndexInput, FSDirectory.FSIndexOutput
LOCK_DIR
lockFactory
Constructor and Description |
---|
NIOFSDirectory() |
Modifier and Type | Method and Description |
---|---|
IndexInput |
openInput(String name,
int bufferSize)
Returns a stream reading an existing file, with the
specified read buffer size.
|
close, createOutput, deleteFile, fileExists, fileLength, fileModified, fileModified, getDirectory, getDirectory, getDirectory, getDirectory, getDirectory, getDirectory, getDisableLocks, getFile, getLockID, list, openInput, renameFile, setDisableLocks, sync, toString, touchFile
clearLock, copy, ensureOpen, getLockFactory, makeLock, setLockFactory
public IndexInput openInput(String name, int bufferSize) throws IOException
Directory
FSDirectory
and CompoundFileReader
.openInput
in class FSDirectory
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.