Package uk.ac.starlink.ecsv
Class SnakeYamlParser
java.lang.Object
uk.ac.starlink.ecsv.SnakeYamlParser
- All Implemented Interfaces:
YamlParser
YamlParser implementation based on the SnakeYAML library
The current implementation is based on SnakeYAML 1.25, which in turn claims to understand YAML 1.1.
- Since:
- 28 Apr 2020
- Author:
- Mark Taylor
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SnakeYamlParser
public SnakeYamlParser()
-
-
Method Details
-
parseMeta
Description copied from interface:YamlParser
Extracts ECSV header information from lines of YAML.- Specified by:
parseMeta
in interfaceYamlParser
- Parameters:
lines
- lines of YAML- Returns:
- ECSV metadata structure
- Throws:
EcsvFormatException
-