{title:'FileStore', updated:'9.0.0'}

The {@link oaj.config.store.FileStore} is the typical store used for configuration files. It provides the following configurable settings:

Example:

| // Create a config store with a watcher thread and high sensitivity. | FileStore fileStore = FileStore | .create() | .directory("configs") | .useWatcher() | .watcherSensitivity(HIGH) | .build(); | | // Create a config using the store defined above. | Config config = Config | .create("MyConfig.cfg") | .store(fileStore) | .build();