org.ferris.bible.store.StoreByFileSystemConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ferris-bible-common Show documentation
Show all versions of ferris-bible-common Show documentation
Ferris Bible Common is a project which contains commonly shared coded for all of the other bible projects.
The newest version!
package org.ferris.bible.store;
import java.io.File;
/**
* Constant values used by {@link StoreByFileSystem}.
*
* @author Mike Remijan
*/
public final class StoreByFileSystemConstants
{
public static final File getStoreFolder()
{
String userHomeStr
= System.getProperty("user.home");
File storeFolder
= new File(userHomeStr, ".ferris-bible-store");
if (!storeFolder.exists()) {
storeFolder.mkdir();
}
return storeFolder;
}
}