org.apache.solr.core
Class DirectoryFactory

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

public abstract class DirectoryFactory
extends Object
implements NamedListInitializedPlugin

Provides access to a Directory implementation.


Constructor Summary
DirectoryFactory()
           
 
Method Summary
 boolean exists(String path)
           
 void init(NamedList args)
           
abstract  org.apache.lucene.store.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 org.apache.lucene.store.Directory open(String path)
                                                throws IOException
Opens a Lucene directory

Throws:
IOException

exists

public boolean exists(String path)

init

public void init(NamedList args)
Specified by:
init in interface NamedListInitializedPlugin


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.