Class Compose
java.lang.Object
org.snakeyaml.engine.v2.api.lowlevel.Compose
Helper to compose input stream to Node
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParse all YAML documents in a stream and produce corresponding representation trees.composeAllFromReader(Reader yaml) Parse all YAML documents in a stream and produce corresponding representation trees.composeAllFromString(String yaml) Parse all YAML documents in a stream and produce corresponding representation trees.Parse a YAML stream and produceNodecomposeReader(Reader yaml) Parse a YAML stream and produceNodecomposeString(String yaml) Parse a YAML stream and produceNode
-
Field Details
-
settings
-
-
Constructor Details
-
Compose
Create instance with providedLoadSettings- Parameters:
settings- - configuration
-
-
Method Details
-
composeReader
-
composeInputStream
-
composeString
-
composeAllFromReader
-
composeAllFromInputStream
Parse all YAML documents in a stream and produce corresponding representation trees.- Parameters:
yaml- - YAML document(s). Default encoding is UTF-8. The BOM must be present if the encoding is UTF-16 or UTF-32- Returns:
- parsed root Nodes for all the specified YAML documents
- See Also:
-
composeAllFromString
-