net.obsearch.ambient.l
Class AmbientL<O extends OB,I extends Index<O>>
java.lang.Object
net.obsearch.ambient.AbstractAmbient<O,I>
net.obsearch.ambient.l.AmbientL<O,I>
- All Implemented Interfaces:
- Ambient<O,I>
public class AmbientL<O extends OB,I extends Index<O>>
- extends AbstractAmbient<O,I>
AmbientBDB creates an ambient based on the Berkeley DB storage sub-system.
- Author:
- Arnoldo Jose Muller Molina
|
Constructor Summary |
AmbientL(java.io.File directory)
|
AmbientL(I index,
java.io.File directory)
|
|
Method Summary |
protected OBLFactory |
createFactory(java.io.File factoryDirectory)
Creates the factory in the given folder. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmbientL
public AmbientL(I index,
java.io.File directory)
throws java.io.FileNotFoundException,
OBStorageException,
NotFrozenException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
OBException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
OBStorageException
NotFrozenException
java.lang.IllegalAccessException
java.lang.InstantiationException
OBException
java.io.IOException- See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(I index, File directory)
AmbientL
public AmbientL(java.io.File directory)
throws java.io.FileNotFoundException,
OBStorageException,
NotFrozenException,
java.lang.IllegalAccessException,
java.lang.InstantiationException,
OBException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
OBStorageException
NotFrozenException
java.lang.IllegalAccessException
java.lang.InstantiationException
OBException
java.io.IOException- See Also:
net.obsearch.result.ambient.AbstractAmbient#AbstractAmbient(File directory)
createFactory
protected OBLFactory createFactory(java.io.File factoryDirectory)
throws OBStorageException
- Description copied from class:
AbstractAmbient
- Creates the factory in the given folder.
- Specified by:
createFactory in class AbstractAmbient<O extends OB,I extends Index<O>>
- Parameters:
factoryDirectory - The location where the factory will work.
- Returns:
- The factory ready to work!
- Throws:
OBStorageException - if something goes wrong with the DB.
Copyright © 2007-2008 Arnoldo Jose Muller Molina. All Rights Reserved.