loadConfig

public T loadConfig<T>(Path path, Class<T> clazz, Array<String> ignoredSections)

Load a configuration file and update it. Destination and jar-included file must have the same name.

Return

The loaded class

Parameters

<T>

The configuration file type

path

The path to the file

clazz

The class

ignoredSections

Ignored sections for the updater