setDirectory
Set the canonical path of the directory in which to store the database. If the directory doesn't already exist it will be created. If it cannot be created an IllegalStateException will be thrown.
Return
this.
Parameters
directory
the directory
Throws
if the directory does not exist and cannot be created