Uses of Class
cloud.opencode.base.yml.YmlDocument
Packages that use YmlDocument
Package
Description
OpenCode Base YML - YAML Processing Library
OpenCode Base YML - YAML 处理库
YML Bind - Object binding for YAML data
YML 绑定 - YAML 数据的对象绑定
-
Uses of YmlDocument in cloud.opencode.base.yml
Methods in cloud.opencode.base.yml that return YmlDocumentModifier and TypeMethodDescriptionstatic YmlDocumentYmlDocument.empty()Creates an empty document.YmlDocument.getDocument(String path) Gets a sub-document at the specified path.static YmlDocumentOpenYml.loadDefaultProfile(Path directory, String... profiles) Loads configuration with profile overlays using default name "application".static YmlDocumentLoads YAML from a file.static YmlDocumentLoads YAML from a file with charset.static YmlDocumentOpenYml.loadProfile(Path basePath, String name, String... profiles) Loads configuration with profile overlays.static YmlDocumentOpenYml.loadStream(InputStream input) Loads YAML from an input stream.static YmlDocumentOpenYml.merge(YmlDocument base, YmlDocument overlay) Merges two documents.static YmlDocumentCreates a document from parsed data.static YmlDocumentParses YAML to a document.static YmlDocumentOpenYml.parseWithPlaceholders(String yaml) Parses YAML with placeholder resolution.static YmlDocumentOpenYml.parseWithPlaceholders(String yaml, Map<String, String> properties) Parses YAML with placeholder resolution using custom properties.Methods in cloud.opencode.base.yml that return types with arguments of type YmlDocumentMethods in cloud.opencode.base.yml with parameters of type YmlDocumentModifier and TypeMethodDescriptionstatic <T> TOpenYml.bind(YmlDocument document, Class<T> type) Binds document to a Java object.static <T> TOpenYml.bind(YmlDocument document, String path, Class<T> type) Binds document at path to a Java object.OpenYml.diff(YmlDocument base, YmlDocument other) Compares two YAML documents and returns a list of differences.static StringOpenYml.dump(YmlDocument document) Dumps document to YAML string.static YmlDocumentOpenYml.merge(YmlDocument base, YmlDocument overlay) Merges two documents. -
Uses of YmlDocument in cloud.opencode.base.yml.bind
Methods in cloud.opencode.base.yml.bind with parameters of type YmlDocumentModifier and TypeMethodDescriptionstatic <T> TYmlBinder.bind(YmlDocument document, Class<T> type) Binds YAML data to a Java object.static <T> TYmlBinder.bind(YmlDocument document, String path, Class<T> type) Binds YAML data at a path to a Java object. -
Uses of YmlDocument in cloud.opencode.base.yml.diff
Methods in cloud.opencode.base.yml.diff with parameters of type YmlDocumentModifier and TypeMethodDescriptionYmlDiff.diff(YmlDocument base, YmlDocument other) Compares two YAML documents and returns a list of differences. -
Uses of YmlDocument in cloud.opencode.base.yml.profile
Methods in cloud.opencode.base.yml.profile that return YmlDocumentModifier and TypeMethodDescriptionstatic YmlDocumentLoads base configuration and profile overlays with a custom merge strategy.static YmlDocumentLoads base configuration and profile overlays with deep merge.static YmlDocumentYmlProfile.loadDefault(Path directory, String... profiles) Loads configuration from a directory using the default base name "application". -
Uses of YmlDocument in cloud.opencode.base.yml.schema
Methods in cloud.opencode.base.yml.schema with parameters of type YmlDocumentModifier and TypeMethodDescriptionYmlSchema.validate(YmlDocument doc) Validates a YmlDocument against this schema.