Package codechicken.lib.config.parser
Class LegacyConfigSerializer
java.lang.Object
codechicken.lib.config.parser.LegacyConfigSerializer
- All Implemented Interfaces:
ConfigSerializer
ConfigSerializer for the legacy ConfigV2 format.
Created by covers1624 on 18/4/22.
-
Field Summary
Fields inherited from interface codechicken.lib.config.parser.ConfigSerializer
JSON, LEGACY, TOML -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparse(Path file, ConfigCategoryImpl rootTag) protected static @Nullable StringreadLine(BufferedReader reader) voidsave(Path file, ConfigCategoryImpl rootTag)
-
Constructor Details
-
LegacyConfigSerializer
public LegacyConfigSerializer()
-
-
Method Details
-
parse
- Specified by:
parsein interfaceConfigSerializer- Throws:
IOException
-
readLine
- Throws:
IOException
-
save
- Specified by:
savein interfaceConfigSerializer- Throws:
IOException
-