Package dev.booky.cloudcore.config
Class ConfigLoader
java.lang.Object
dev.booky.cloudcore.config.ConfigLoader
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TloadObject(Path path, io.leangen.geantyref.TypeToken<T> type, Supplier<T> constructor) Deprecated, for removal: This API element is subject to removal in a future version.static <T> TloadObject(Path path, io.leangen.geantyref.TypeToken<T> type, Supplier<T> defSupplier, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version.static <T> TloadObject(Path path, Class<T> clazz) Deprecated, for removal: This API element is subject to removal in a future version.static <T> TloadObject(Path path, Class<T> clazz, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version.static <T> voidsaveObject(Path path, io.leangen.geantyref.TypeToken<T> type, T obj) Deprecated, for removal: This API element is subject to removal in a future version.static <T> voidsaveObject(Path path, io.leangen.geantyref.TypeToken<T> type, T obj, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version.static <T> voidsaveObject(Path path, T obj) Deprecated, for removal: This API element is subject to removal in a future version.static <T> voidsaveObject(Path path, T obj, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
loadObject
Deprecated, for removal: This API element is subject to removal in a future version. -
loadObject
public static <T> T loadObject(Path path, Class<T> clazz, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version. -
loadObject
public static <T> T loadObject(Path path, io.leangen.geantyref.TypeToken<T> type, Supplier<T> constructor) Deprecated, for removal: This API element is subject to removal in a future version. -
loadObject
public static <T> T loadObject(Path path, io.leangen.geantyref.TypeToken<T> type, Supplier<T> defSupplier, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version. -
saveObject
Deprecated, for removal: This API element is subject to removal in a future version. -
saveObject
public static <T> void saveObject(Path path, T obj, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version. -
saveObject
Deprecated, for removal: This API element is subject to removal in a future version. -
saveObject
public static <T> void saveObject(Path path, io.leangen.geantyref.TypeToken<T> type, T obj, Consumer<org.spongepowered.configurate.serialize.TypeSerializerCollection.Builder> serializers) Deprecated, for removal: This API element is subject to removal in a future version.
-
ConfigurateLoaderinstead