public class OdinExtra
extends java.lang.Object
Constructor and Description |
---|
OdinExtra() |
Modifier and Type | Method and Description |
---|---|
void |
addComment(java.lang.String comment)
Add comment to this extra.
Empty lines are represented by empty string. |
void |
addComments(java.util.Collection<java.lang.String> comments)
Add comments to this extra.
Empty lines are represented by empty string. |
void |
addComments(java.lang.String[] comments)
Add comments to this extra.
Empty lines are represented by empty string. |
void |
addSpace()
Add an empty line to this extra.
|
void |
addSpace(int lines)
Add multiple empty lines to this extra.
|
java.util.List<java.lang.String> |
getComments()
Get comments and empty lines of this extra.
Empty lines are represented by empty string. |
public void addSpace()
public void addSpace(int lines)
lines
- number of empty linespublic void addComment(java.lang.String comment)
comment
- comment to addpublic void addComments(java.lang.String[] comments)
comments
- comments to addpublic void addComments(java.util.Collection<java.lang.String> comments)
comments
- comments to addpublic java.util.List<java.lang.String> getComments()