|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ivata.mask.web.format.MaximumLengthFormat
If the text supplied is longer than the maximum line length, the text is truncated and the dots character is appended to it.
| Constructor Summary | |
MaximumLengthFormat()
|
|
| Method Summary | |
java.lang.String |
format(java.lang.String hTMLTextParam)
Format the string given in hTMLText to the maximum length
provided by calling setMaxLength. |
java.lang.Integer |
getMaximumLength()
Get the maximum string length to output when format is called. |
void |
setMaximumLength(java.lang.Integer maximumLengthParam)
Set the maximum string length to output when format is
called. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MaximumLengthFormat()
| Method Detail |
public final java.lang.String format(java.lang.String hTMLTextParam)
Format the string given in hTMLText to the maximum length
provided by calling setMaxLength.
format in interface HTMLFormathTMLTextParam - the text to truncate
HTMLFormat.format(java.lang.String).public final java.lang.Integer getMaximumLength()
Get the maximum string length to output when format is called.
null if no maximum has been set yet.public final void setMaximumLength(java.lang.Integer maximumLengthParam)
Set the maximum string length to output when format is
called.
maximumLengthParam - the new value of the maximum length to output.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||