use of com.electronwill.nightconfig.toml.TomlWriter in project BYG by AOCAWOL.
the class CommentedConfigBuilder method build.
public void build() {
if (this.filePath == null) {
throw new UnsupportedOperationException("This file cannot be parsed w/ a null file path.");
}
TomlWriter writer = new TomlWriter();
writer.write(organizeConfig(config), filePath.toFile(), WritingMode.REPLACE);
}
Aggregations