|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlazyj.page.tags.Cut
public class Cut
cutN return the first N characters from the value. It will leave in the return text the tags A, B, U, I, FONT but will not count their length but only the length of the text that is actually displayed.
Strip| Constructor Summary | |
|---|---|
Cut()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
cut(java.lang.String sValue,
int iCut)
Cuts a string, leaving only the first N characters from it, jumping over tags. |
java.lang.String |
format(java.lang.String sTag,
java.lang.String sOption,
java.lang.String sValue)
Cuts a string, leaving only the first N characters from it, jumping over tags. |
static void |
main(java.lang.String[] args)
Debug method |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Cut()
| Method Detail |
|---|
public java.lang.String format(java.lang.String sTag,
java.lang.String sOption,
java.lang.String sValue)
format in interface StringFormatsTag - ignoredsOption - tag option, in the form "cutN", with N>0sValue - original string
public static java.lang.String cut(java.lang.String sValue,
int iCut)
sValue - iCut -
public static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||