org.apache.solr.core
Class DirectoryFactory

java.lang.Object
  extended by org.apache.solr.core.DirectoryFactory
All Implemented Interfaces:
NamedListInitializedPlugin
Direct Known Subclasses:
StandardDirectoryFactory

public abstract class DirectoryFactory
extends Object
implements NamedListInitializedPlugin

Provides access to a Directory implementation.


Constructor Summary
DirectoryFactory()
           
 
Method Summary
 void init(org.apache.solr.common.util.NamedList args)
           
abstract  Directory open(String path)
          Opens a Lucene directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryFactory

public DirectoryFactory()
Method Detail

open

public abstract Directory open(String path)
                        throws IOException
Opens a Lucene directory

Throws:
IOException

init

public void init(org.apache.solr.common.util.NamedList args)
Specified by:
init in interface NamedListInitializedPlugin


Copyright © 2010 Apache Software Foundation. All Rights Reserved.