net.sf.eos.lucene
Class LocalFsDirectorySupplier

java.lang.Object
  extended by net.sf.eos.config.Configured
      extended by net.sf.eos.lucene.DirectorySupplier
          extended by 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


Field Summary
static String LOCAL_PATH_CONFIG_NAME
           
 
Fields inherited from class net.sf.eos.lucene.DirectorySupplier
DIRECTORY_SUPPLIER_IMPL_CONFIG_NAME
 
Constructor Summary
LocalFsDirectorySupplier()
           
 
Method Summary
 org.apache.lucene.store.Directory get(Configuration conf)
          Use the given configuration to create a new Directory instance.
 
Methods inherited from class net.sf.eos.lucene.DirectorySupplier
get, newInstance
 
Methods inherited from class net.sf.eos.config.Configured
configure, getConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.eos.config.Configurable
configure
 

Field Detail

LOCAL_PATH_CONFIG_NAME

public static final String LOCAL_PATH_CONFIG_NAME
See Also:
Constant Field Values
Constructor Detail

LocalFsDirectorySupplier

public LocalFsDirectorySupplier()
Method Detail

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.