{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:

- {@link oaj.config.store.FileStore.Builder}
  - {@link oaj.config.store.FileStore.Builder#charset(Charset) charset(Charset)}
  - {@link oaj.config.store.FileStore.Builder#directory(File) directory(File)}
  - {@link oaj.config.store.FileStore.Builder#updateOnWrite() updateOnWrite()}
  - {@link oaj.config.store.FileStore.Builder#enableWatcher() enableWatcher()}
  - {@link oaj.config.store.FileStore.Builder#watcherSensitivity(WatcherSensitivity) watcherSensitivity(WatcherSensitivity)}

##### 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();