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>>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.ultikits.ultitools.interfaces.impl.pasers.ConfigParser
serialize
-
Constructor Details
-
StringHashMapParser
public StringHashMapParser()
-
-
Method Details
-
parse
Description copied from interface:ParserParses a raw object into the target type.
将原始对象解析为目标类型。- Parameters:
object- the raw object to parse (typically from configuration) 要解析的原始对象(通常来自配置)- Returns:
- the parsed object of type T 解析后的 T 类型对象
-
serializeToMemorySection
public org.bukkit.configuration.MemorySection serializeToMemorySection(HashMap<String, String> object) Description copied from interface:ObjectConfigSerializerSerializes an object to a Bukkit MemorySection.
将对象序列化为 Bukkit MemorySection。- Parameters:
object- the object to serialize / 要序列化的对象- Returns:
- the MemorySection containing the serialized data 包含序列化数据的 MemorySection
-