org.entityfs.fs
Interface FSFileSystemBuilder<T extends FSFileSystemBuilder<T>>

Type Parameters:
T - The concrete implementation, returned from various getter methods.
All Superinterfaces:
FileSystemBuilder<T>
All Known Implementing Classes:
AbstractFSFileSystemBuilder, FSROFileSystemBuilder, FSRWFileSystemBuilder

public interface FSFileSystemBuilder<T extends FSFileSystemBuilder<T>>
extends FileSystemBuilder<T>

This interface is implemented by all builders of file-based file systems.

Since:
1.0
Author:
Karl Gustafsson

Field Summary
 
Fields inherited from interface org.entityfs.FileSystemBuilder
DEFAULT_BUFFER_SIZE
 
Method Summary
 File getRoot()
          Get the root directory of the file system, if set.
 T setRoot(File f)
          Set the root directory of the file system.
 
Methods inherited from interface org.entityfs.FileSystemBuilder
addCapabilityProvider, addCapabilityProviders, create, disableAccessControls, disableEntityValidityControls, enableEvents, enableLocking, getAccessController, getBufferSize, getCapabilityProviders, getEntityValidityControlStrategy, getLockAcquiringStrategy, getLockAdapterFactory, getLogAdapter, getName, isLockingSupported, setAccessController, setBufferSize, setEntityValidityControlStrategy, setLockAcquiringStrategy, setLockAdapterFactory, setLogAdapter, setName
 

Method Detail

setRoot

T setRoot(File f)
Set the root directory of the file system.

Parameters:
f - The file system's root directory.
Returns:
this

getRoot

File getRoot()
Get the root directory of the file system, if set.

Returns:
The file system's root directory.