public class SnakeMamlParser extends java.lang.Object implements MamlParser
In principle, this implementation is coded from the MAML 1.0-1.2 format description at https://github.com/asgr/MAML-Format. In practice it was done partly by looking at example files in the same place.
MAML support in STIL is currently on a best-efforts basis. This implementation picks up some of the most useful metadata, but does not make great efforts to do the best thing in all cases.
| Constructor and Description |
|---|
SnakeMamlParser() |
| Modifier and Type | Method and Description |
|---|---|
MamlMetadata |
parseMaml(java.lang.String txt)
Parse a YAML string to produce a MamlMetadata object.
|
public MamlMetadata parseMaml(java.lang.String txt) throws TableFormatException
MamlParserparseMaml in interface MamlParsertxt - input YAMLTableFormatException - if YAML is incorrect