Class Parse
java.lang.Object
org.snakeyaml.engine.v2.api.lowlevel.Parse
Read the input stream and parse the content into events (opposite for Present or Emit)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseInputStream(InputStream yaml) Parse a YAML stream and produce parsing events.parseReader(Reader yaml) Parse a YAML stream and produce parsing events.parseString(String yaml) Parse a YAML stream and produce parsing events.
-
Field Details
-
settings
-
-
Constructor Details
-
Parse
Create instance with providedLoadSettings- Parameters:
settings- - configuration
-
-
Method Details
-
parseInputStream
Parse a YAML stream and produce parsing events.- 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 events
- See Also:
-
parseReader
-
parseString
-