Package net.sourceforge.plantuml.preproc
Class ReadLineWithYamlHeader
java.lang.Object
net.sourceforge.plantuml.preproc.ReadLineWithYamlHeader
- All Implemented Interfaces:
Closeable,AutoCloseable,ReadLine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static List<StringLocated> getYamlHeader(List<StringLocated> input) The lines of the YAML header of a diagram (between the two "---" lines that follow the @start line, separators excluded), or an empty list.readLine()static List<StringLocated> removeYamlHeader(List<StringLocated> input)
-
Constructor Details
-
ReadLineWithYamlHeader
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
readLine
- Specified by:
readLinein interfaceReadLine- Throws:
IOException
-
getMetadata
-
getYamlHeader
The lines of the YAML header of a diagram (between the two "---" lines that follow the @start line, separators excluded), or an empty list. -
removeYamlHeader
-