org.apache.commons.configuration
static class PropertiesConfigurationLayout.PropertyLayoutData extends Object implements Cloneable
| Field Summary | |
|---|---|
| int | blancLines Stores the number of blanc lines before this property. |
| StringBuffer | comment Stores the comment for the property. |
| boolean | singleLine Stores the single line property. |
| Constructor Summary | |
|---|---|
| PropertyLayoutData()
Creates a new instance of PropertyLayoutData. | |
| Method Summary | |
|---|---|
| void | addComment(String s)
Adds a comment for this property. |
| Object | clone()
Creates a copy of this object.
|
| int | getBlancLines()
Returns the number of blanc lines before this property.
|
| 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(String s)
Sets the comment for this property.
|
| void | setSingleLine(boolean singleLine)
Sets the single line flag.
|
PropertyLayoutData.Parameters: s the comment to add
Returns: the copy
Returns: the number of blanc lines before this property
Returns: the comment (can be null)
Returns: the single line flag
Parameters: blancLines the number of properties before this property
Parameters: s the new comment (can be null)
Parameters: singleLine the single line flag