|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.configuration.PropertiesConfigurationLayout.PropertyLayoutData
A helper class for storing all layout related information for a configuration property.
Constructor Summary | |
PropertiesConfigurationLayout.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. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PropertiesConfigurationLayout.PropertyLayoutData()
PropertyLayoutData
.
Method Detail |
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(String s)
s
- the comment to addpublic void setComment(String s)
s
- the new comment (can be null)public String getComment()
public Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |