public class CommentLine extends Object
| Constructor and Description |
|---|
CommentLine(org.snakeyaml.engine.v2.events.CommentEvent event)
Create
|
CommentLine(Optional<Mark> startMark,
Optional<Mark> endMark,
String value,
CommentType commentType)
Create
|
| Modifier and Type | Method and Description |
|---|---|
CommentType |
getCommentType()
getter
|
Optional<Mark> |
getEndMark()
getter
|
Optional<Mark> |
getStartMark()
getter
|
String |
getValue()
Value of this comment.
|
String |
toString() |
public CommentLine(org.snakeyaml.engine.v2.events.CommentEvent event)
event - - the sourcepublic CommentType getCommentType()
public String getValue()
Copyright © 2018–2022. All rights reserved.