Class ConfigLoader

java.lang.Object
dev.booky.cloudcore.config.ConfigLoader

@Deprecated(forRemoval=true) public final class ConfigLoader extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
use ConfigurateLoader instead
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
     
    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.
     
    static <T> T
    loadObject(Path path, Class<T> clazz)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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.
     
    static <T> void
    saveObject(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> 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.
     
    static <T> void
    saveObject(Path path, T obj)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    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.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • loadObject

      public static <T> T loadObject(Path path, Class<T> clazz)
      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

      public static <T> void saveObject(Path path, T obj)
      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

      public static <T> void saveObject(Path path, io.leangen.geantyref.TypeToken<T> type, T obj)
      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.