|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfable.framework.toolbox.ControlField
public class ControlField
This class is used in the toolbox to check the type of a String.
Use it for example to check if a String is an integer.
| Constructor Summary | |
|---|---|
ControlField()
|
|
| Method Summary | |
|---|---|
static boolean |
isAlphaNum(java.lang.String stringToTest)
This method test is a string is an alphanumeric. |
static boolean |
isFloat(java.lang.String stringToTest)
This method checks if a string represents a Float with method format of an instance of DecimalFormat. |
static boolean |
isInteger(java.lang.String stringToTest)
This method checks if a string represents an integer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ControlField()
| Method Detail |
|---|
public static final boolean isInteger(java.lang.String stringToTest)
stringToTest -
public static final boolean isFloat(java.lang.String stringToTest)
stringToTest - the string to test
public static final boolean isAlphaNum(java.lang.String stringToTest)
stringToTest - the string to test
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||