Package me.kzheart.klib.config
Class ConfigNode
java.lang.Object
me.kzheart.klib.config.ConfigNode
路径感知节点的 Java 平台返回契约;节点状态与解析全部由 Kotlin 实现。
旧 Kotlin 调用 if (node.raw() != null) node.raw().javaClass 依赖平台类型;缺失和显式空节点仍返回 null。
-
Method Summary
Modifier and TypeMethodDescriptioncreateSection(String key) booleanexists()index(int index) keys()me.kzheart.klib.config.ConfigMappingExceptionmappingError(String detail) me.kzheart.klib.config.ConfigMappingExceptionmappingError(String detail, Throwable cause) name()path()raw()booleansameNode(ConfigNode other)
-
Method Details
-
sourceName
-
path
-
name
-
sectionText
-
sameNode
-
exists
public boolean exists() -
child
-
createSection
-
node
-
keys
-
raw
-
index
-
mappingError
-
mappingError
-