Search in sources :

Example 1 with FileHelper

use of nl.knaw.huygens.timbuctoo.v5.filehelper.FileHelper in project timbuctoo by HuygensING.

the class BdbPersistentEnvironmentCreator method start.

@Override
public void start() {
    File dbHome = new File(databaseLocation);
    dbHome.mkdirs();
    if (!dbHome.isDirectory()) {
        throw new IllegalStateException("Database home at '" + dbHome.getAbsolutePath() + "' is not a directory");
    }
    fileHelper = new FileHelper(dbHome);
}
Also used : FileHelper(nl.knaw.huygens.timbuctoo.v5.filehelper.FileHelper) File(java.io.File)

Aggregations

File (java.io.File)1 FileHelper (nl.knaw.huygens.timbuctoo.v5.filehelper.FileHelper)1