Read-only Configs
The following settings can be used to create read-only Config objects:
Example
// Create a read-only config
Config config = Config.create("MyConfig.cfg").readOnly().build();
This causes all methods that make modifications to throw UnsupportedOperationException.
Share feedback or follow-up questions for this page directly through GitHub.