Folder store
An implementation of the folder store specification.
Instance creation
FolderStore folderStore = FolderStore.forUrl(folder);
Instantiates a folder store for a url of the form:
file:///PATH/TO/STORE
FolderStore folderStore = new FolderStore(folder);
Instantiates a folder store for a folder (File object) .
Store behavior
Each store request results in one or more file system operations.
Administration
boolean success = folderStore.createIfNecessary();
Initializes an empty store in the store folder, unless this has been done before. The store folder itself must exist and be writable.
The return value tells whether the store exists when the function returns, independently of whether is has been created, or already existed.