public class RAMDirectoryFactory extends StandardDirectoryFactory
RAMDirectory
CachingDirectoryFactory.CacheValue, CachingDirectoryFactory.CloseListener
byDirectoryCache, byPathCache, closeListeners
Constructor and Description |
---|
RAMDirectoryFactory() |
Modifier and Type | Method and Description |
---|---|
protected Directory |
create(String path)
Creates a new Directory for a given path.
|
boolean |
exists(String path)
Returns true if a Directory exists for a given path.
|
addCloseListener, close, doneWithDirectory, get, get, incRef, init, release
protected Directory create(String path) throws IOException
DirectoryFactory
create
in class StandardDirectoryFactory
IOException
- If there is a low-level I/O error.public boolean exists(String path)
DirectoryFactory
exists
in class CachingDirectoryFactory
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.