net.sf.eos.lucene
Class LocalFsDirectorySupplier
java.lang.Object
net.sf.eos.config.Configured
net.sf.eos.lucene.DirectorySupplier
net.sf.eos.lucene.LocalFsDirectorySupplier
- All Implemented Interfaces:
- Configurable, ConfigurableSupplier<org.apache.lucene.store.Directory>, Supplier<org.apache.lucene.store.Directory>
public class LocalFsDirectorySupplier
- extends DirectorySupplier
Method Summary |
org.apache.lucene.store.Directory |
get(Configuration conf)
Use the given configuration to create a new Directory instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCAL_PATH_CONFIG_NAME
public static final String LOCAL_PATH_CONFIG_NAME
- See Also:
- Constant Field Values
LocalFsDirectorySupplier
public LocalFsDirectorySupplier()
get
public org.apache.lucene.store.Directory get(Configuration conf)
- Description copied from class:
DirectorySupplier
- Use the given configuration to create a new
Directory
instance.
- Specified by:
get
in class DirectorySupplier
- Parameters:
conf
- the configuration to use for Directory
creating
- Returns:
- a new Lucence
Directory
Copyright © 2008. All Rights Reserved.