use of com.glitchcog.fontificator.config.loadreport.LoadConfigReport in project ChatGameFontificator by GlitchCog.
the class FontificatorProperties method loadConfigs.
/**
* Load properties into specialized config objects. This method returns its own report.
*
* @return success
*/
private LoadConfigReport loadConfigs(boolean loadNonFontConfig) {
LoadConfigReport report = new LoadConfigReport();
if (loadNonFontConfig) {
ircConfig.load(this, report);
chatConfig.load(this, report);
messageConfig.load(this, report);
emojiConfig.load(this, report);
censorConfig.load(this, report);
}
fontConfig.load(this, report);
colorConfig.load(this, report);
if (!report.isErrorFree()) {
ChatWindow.popup.handleProblem(report);
}
return report;
}
Aggregations