ConfigFileStore

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

- {@link oaj.config.store.ConfigFileStore}
  - {@link oaj.config.store.ConfigFileStore#FILESTORE_charset FILESTORE_charset}
  - {@link oaj.config.store.ConfigFileStore#FILESTORE_directory FILESTORE_directory}
  - {@link oaj.config.store.ConfigFileStore#FILESTORE_updateOnWrite FILESTORE_updateOnWrite}
  - {@link oaj.config.store.ConfigFileStore#FILESTORE_useWatcher FILESTORE_useWatcher}
  - {@link oaj.config.store.ConfigFileStore#FILESTORE_watcherSensitivity FILESTORE_watcherSensitivity}

##### Example:

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