Class StringHashMapParser

java.lang.Object
com.ultikits.ultitools.interfaces.impl.pasers.ConfigParser<HashMap<String,String>>
com.ultikits.ultitools.interfaces.impl.pasers.StringHashMapParser
All Implemented Interfaces:
ObjectConfigSerializer<HashMap<String,String>>, Parser<HashMap<String,String>>

@Deprecated(since="6.3.0", forRemoval=true) public class StringHashMapParser extends ConfigParser<HashMap<String,String>>
Deprecated, for removal: This API element is subject to removal in a future version.
Use ConfigConverter and ConfigConverterFor; removed in the next version.
Legacy configuration parser; executable behavior remains unchanged.
Scheduled removal version:
6.4.0
  • Constructor Details

    • StringHashMapParser

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

    • parse

      public HashMap<String,String> parse(Object object)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Parser
      Parses a raw object into the target type.
      Parameters:
      object - the raw object to parse (typically from configuration)
      Returns:
      the parsed object of type T
    • serializeToMemorySection

      public org.bukkit.configuration.MemorySection serializeToMemorySection(HashMap<String,String> object)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ObjectConfigSerializer
      Serializes an object to a Bukkit MemorySection.
      Parameters:
      object - the object to serialize
      Returns:
      the MemorySection containing the serialized data