MockDirectoryFactory (Solr 3.6.2 API)
Keywords: org.apache.solr.core.MockDirectoryFactory 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 MockDirectoryFactory

    java.lang.Object
      org.apache.solr.core.DirectoryFactory
          org.apache.solr.core.MockDirectoryFactory

All Implemented Interfaces:
  org.apache.solr.util.plugin.NamedListInitializedPlugin

    public class MockDirectoryFactory

extends org.apache.solr.core.DirectoryFactory

Opens a directory with `LuceneTestCase.newFSDirectory(File)`

Constructor Summary
`MockDirectoryFactory()`

Method Summary
`Directory` | `open(String path)`

Methods inherited from class org.apache.solr.core.DirectoryFactory
`exists, init`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MockDirectoryFactory

    public MockDirectoryFactory()

Method Detail

### open

    public Directory open(String path)
                   throws IOException

  Specified by:
    `open` in class `org.apache.solr.core.DirectoryFactory`
  Throws:
    `IOException`

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