|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jasp.buildin.IStringList
The IStringList class enables your component to retrieve values from the QueryString, Form, or ServerVariables collections.
| Method Summary | |
java.util.Enumeration |
elements()
Retrieves an enumerator for the string list |
int |
getCount()
Retrieves the number of items in the list of strings |
variant |
getItem(int index)
Retrieves the specified item from a string list |
variant |
getItem(variant key)
Retrieves the specified item from a string list |
variant |
getValue()
Gets the value of the String list. |
double |
toDouble()
Returns the double value if the string list is a numeric. |
java.lang.String |
toString()
Gets the String value of the String list. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public variant getItem(int index)
throws java.lang.Exception
key - the item index.
public variant getItem(variant key)
throws java.lang.Exception
key - the item name or index.public int getCount()
public java.lang.String toString()
toString in class java.lang.Objectpublic variant getValue()
getValue in interface Collection
public double toDouble()
throws java.lang.Exception
toDouble in interface Collectionif - the string list is not a numeric, an exception will occurs.public java.util.Enumeration elements()
elements in interface Collection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||