public class Comments extends java.lang.Object
Constructor | Description |
---|---|
Comments(java.lang.String[] openTagComment,
java.lang.String[] closeTagComment) |
Creates a new set of comments.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getCloseTagComment() |
Returns the close tag comments.
|
java.lang.String[] |
getOpenTagComment() |
Returns the open tag comments.
|
java.lang.String |
toString() |
Returns a string representation of the set of comments.
|
public Comments(java.lang.String[] openTagComment, java.lang.String[] closeTagComment)
openTagComment
- the open tag comment.closeTagComment
- the close tag comment.public java.lang.String[] getOpenTagComment()
public java.lang.String[] getCloseTagComment()
public java.lang.String toString()
toString
in class java.lang.Object