public class SimpleFSDirectoryFactory extends StandardDirectoryFactory
SimpleFSDirectory
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener
DirectoryFactory.DirContext
byDirectoryCache, byPathCache, closeListeners, removeEntries
IOCONTEXT_NO_CACHE
Constructor and Description |
---|
SimpleFSDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.store.Directory |
create(String path,
DirectoryFactory.DirContext dirContext)
Creates a new Directory for a given path.
|
boolean |
isAbsolute(String path) |
exists, isPersistent, move, normalize, removeDirectory
addCloseListener, close, doneWithDirectory, get, getLivePaths, incRef, init, release, remove, remove, remove, remove, stripTrailingSlash
empty, getDataHome, isSharedStorage, searchersReserveCommitPoints, sizeOf, sizeOfDirectory
protected org.apache.lucene.store.Directory create(String path, DirectoryFactory.DirContext dirContext) throws IOException
DirectoryFactory
create
in class StandardDirectoryFactory
IOException
- If there is a low-level I/O error.public boolean isAbsolute(String path)
isAbsolute
in class StandardDirectoryFactory
path
- the path to checkCopyright © 2000–2014 The Apache Software Foundation. All rights reserved.