Package codechicken.lib.config.parser
Interface ConfigSerializer
- All Known Implementing Classes:
JsonConfigSerializer,LegacyConfigSerializer,TomlConfigSerializer
public interface ConfigSerializer
Represents a serializer capable of reading the provided file into
a tag tree.
Created by covers1624 on 18/4/22.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigSerializerstatic final ConfigSerializerstatic final ConfigSerializer -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(Path file, ConfigCategoryImpl rootTag) voidsave(Path file, ConfigCategoryImpl rootTag)
-
Field Details
-
LEGACY
-
JSON
-
TOML
-
-
Method Details
-
parse
- Throws:
IOException
-
save
- Throws:
IOException
-