|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--roast.ArgType | +--roast.FixedPointArgType
A FixedPointArgType determines whether a given string contains only digits and one decimal (optional). The number of digits before and after the decimal must be in given ranges.
Constructor Summary | |
FixedPointArgType(int leftMaxLength0,
int rightMaxLength0)
Creates a new instance. |
Method Summary | |
boolean |
isValid(java.lang.String s)
Determines whether s contains only digits and one decimal (optional) and that the number of digits before and after the decimal are in range. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FixedPointArgType(int leftMaxLength0, int rightMaxLength0)
Method Detail |
public boolean isValid(java.lang.String s)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |