|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.FormattedParameters
Convert parameters to (semi) human readable text.
Constructor Summary | |
FormattedParameters(PropertyReader parameters)
Constructs a new FormattedParameters object. |
|
FormattedParameters(PropertyReader parameters,
Element dataSection)
Constructs a new FormattedParameters object. |
|
FormattedParameters(PropertyReader parameters,
Element dataSection,
String valueIfEmpty,
String prefixIfNotEmpty,
int maxValueLength)
Constructs a new FormattedParameters object. |
Method Summary | |
String |
toString()
String representation of the parameters including the data section. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FormattedParameters(PropertyReader parameters)
FormattedParameters
object.
parameters
- the parameters, can be null
.public FormattedParameters(PropertyReader parameters, Element dataSection)
FormattedParameters
object.
parameters
- the parameters, can be null
.dataSection
- the data section, can be null
.public FormattedParameters(PropertyReader parameters, Element dataSection, String valueIfEmpty, String prefixIfNotEmpty, int maxValueLength)
FormattedParameters
object.
parameters
- the parameters, can be null
.dataSection
- the data section, can be null
.valueIfEmpty
- the value to return if there is no parameter and no data section, can be null
.prefixIfNotEmpty
- the prefix to add if there is a parameter or a data section, can be null
.maxValueLength
- the maximum of characters to set for the value, if the value is longer
than this limit '...' will be added after the limit.
If the value is -1, no limit will be set.Method Detail |
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |