static class PropertiesConfigurationLayout.PropertyLayoutData
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private int |
blancLines
Stores the number of blanc lines before this property.
|
private java.lang.StringBuffer |
comment
Stores the comment for the property.
|
private boolean |
singleLine
Stores the single line property.
|
Constructor and Description |
---|
PropertiesConfigurationLayout.PropertyLayoutData()
Creates a new instance of
PropertyLayoutData . |
Modifier and Type | Method and Description |
---|---|
void |
addComment(java.lang.String s)
Adds a comment for this property.
|
java.lang.Object |
clone()
Creates a copy of this object.
|
int |
getBlancLines()
Returns the number of blanc lines before this property.
|
java.lang.String |
getComment()
Returns the comment for this property.
|
boolean |
isSingleLine()
Returns the single line flag.
|
void |
setBlancLines(int blancLines)
Sets the number of properties before this property.
|
void |
setComment(java.lang.String s)
Sets the comment for this property.
|
void |
setSingleLine(boolean singleLine)
Sets the single line flag.
|
private java.lang.StringBuffer comment
private int blancLines
private boolean singleLine
public PropertiesConfigurationLayout.PropertyLayoutData()
PropertyLayoutData
.public int getBlancLines()
public void setBlancLines(int blancLines)
blancLines
- the number of properties before this propertypublic boolean isSingleLine()
public void setSingleLine(boolean singleLine)
singleLine
- the single line flagpublic void addComment(java.lang.String s)
s
- the comment to addpublic void setComment(java.lang.String s)
s
- the new comment (can be null)public java.lang.String getComment()
public java.lang.Object clone()
clone
in class java.lang.Object