Class ConfigUtils

java.lang.Object
ru.cwcode.cwutils.config.ConfigUtils

@Deprecated(forRemoval=true) public class ConfigUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    deserialize(Object instance, Map<String,Object> map)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static net.kyori.adventure.text.Component
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static net.kyori.adventure.text.Component[]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    getPath(String root, String... keys)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static org.bukkit.inventory.ItemStack
    loadItemStack(File file, org.bukkit.configuration.file.YamlConfiguration config, String path)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static boolean
    saveConfig(File file, org.bukkit.configuration.file.YamlConfiguration config)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Map<String,Object>
    serialize(Object instance)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static void
    setField(Object instance, String key, Object value)
    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
  • Constructor Details

    • ConfigUtils

      public ConfigUtils()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getPath

      public static String getPath(String root, String... keys)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getComponent

      public static net.kyori.adventure.text.Component getComponent(String json)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getComponents

      public static net.kyori.adventure.text.Component[] getComponents(List<String> json)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • loadItemStack

      public static org.bukkit.inventory.ItemStack loadItemStack(File file, org.bukkit.configuration.file.YamlConfiguration config, String path)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • saveConfig

      public static boolean saveConfig(File file, org.bukkit.configuration.file.YamlConfiguration config)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • serialize

      public static Map<String,Object> serialize(Object instance)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • deserialize

      public static void deserialize(Object instance, Map<String,Object> map)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setField

      public static void setField(Object instance, String key, Object value)
      Deprecated, for removal: This API element is subject to removal in a future version.