DirectoryFactory (Solr 3.6.2 API)
Keywords: org.apache.solr.core.DirectoryFactory class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.solr.core
Class DirectoryFactory

    java.lang.Object
      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 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`

### exists

    public boolean exists(String path)

### init

    public void init(NamedList args)

  Specified by:
    `init` in interface `NamedListInitializedPlugin`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD