java.lang.Object
net.darkhax.pricklemc.common.api.config.comment.Comment
All Implemented Interfaces:
IComment
Direct Known Subclasses:
WrappedComment

public class Comment extends Object implements IComment
A simple multi-line comment implementation.
  • Constructor Details

    • Comment

      public Comment(String... lines)
      Constructs a simple multi-line comment.
      Parameters:
      lines - The lines of the comment.
  • Method Details

    • getLines

      public String[] getLines()
      Description copied from interface: IComment
      Gets the lines of the comment.
      Specified by:
      getLines in interface IComment
      Returns:
      The lines of the comment.