mirror of
https://github.com/SimplexDevelopment/Configurator.git
synced 2025-06-30 13:46:41 +00:00
This is like 60% done, still need to implement a few more things in each respective configuration type.
20 lines
344 B
Java
20 lines
344 B
Java
package app.simplexdev.data;
|
|
|
|
public enum ConfigType
|
|
{
|
|
YAML(".yml"),
|
|
JSON(".json"),
|
|
PROPERTIES(".properties"),
|
|
TOML(".toml");
|
|
|
|
private final String extension;
|
|
|
|
ConfigType(final String extension) {
|
|
this.extension = extension;
|
|
}
|
|
|
|
public final String getExtension() {
|
|
return this.extension;
|
|
}
|
|
}
|