public class MockDirectoryFactory
extends org.apache.solr.core.EphemeralDirectoryFactory
LuceneTestCase.newDirectory()
Constructor and Description |
---|
MockDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.store.Directory |
create(String path,
org.apache.solr.core.DirectoryFactory.DirContext dirContext) |
boolean |
isAbsolute(String path) |
addCloseListener, close, doneWithDirectory, get, getLivePaths, incRef, init, normalize, release, remove, remove, remove, remove, removeDirectory
protected org.apache.lucene.store.Directory create(String path, org.apache.solr.core.DirectoryFactory.DirContext dirContext) throws IOException
create
in class org.apache.solr.core.CachingDirectoryFactory
IOException
public boolean isAbsolute(String path)
isAbsolute
in class org.apache.solr.core.EphemeralDirectoryFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.