|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjet.utils.JetConverter
public class JetConverter
Converter
| Field Summary | |
|---|---|
private JetForm |
form
form to get values to convert |
| Constructor Summary | |
|---|---|
JetConverter(JetForm form)
Creates a new instance of JetConverter |
|
| Method Summary | |
|---|---|
boolean |
getBoolean(java.lang.String identifier)
Method to get boolean |
char |
getChar(java.lang.String identifier)
Method to get char |
char[] |
getChars(java.lang.String identifier)
Method to get char |
java.util.Date |
getDate(java.lang.String identifier,
java.lang.String simpleDateFormatPattern)
Method to get Date |
java.util.Date |
getDate(java.lang.String year,
java.lang.String month,
java.lang.String day)
Method to get Date |
double |
getDouble(java.lang.String identifier)
Method to get double |
float |
getFloat(java.lang.String identifier)
Method to get float |
int |
getInt(java.lang.String identifier)
Method to get int |
long |
getLong(java.lang.String identifier)
Method to get long |
java.lang.String |
getString(java.lang.String identifier)
Method to get String |
java.sql.Time |
getTime(java.lang.String identifier)
Method to get Time |
java.util.Date |
getTimestamp(java.lang.String identifier)
Method to get Timestamp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private JetForm form
| Constructor Detail |
|---|
public JetConverter(JetForm form)
| Method Detail |
|---|
public java.lang.String getString(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public char getChar(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public char[] getChars(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public int getInt(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public long getLong(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public double getDouble(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public float getFloat(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public boolean getBoolean(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public java.util.Date getDate(java.lang.String year,
java.lang.String month,
java.lang.String day)
throws NotFoundException,
java.text.ParseException
year - the form field id for the yearmonth - the form field id for the monthday - the form field id for the day
NotFoundException
java.text.ParseException
public java.util.Date getDate(java.lang.String identifier,
java.lang.String simpleDateFormatPattern)
throws NotFoundException,
java.text.ParseException
identifier - the form field id
NotFoundException
java.text.ParseException
public java.util.Date getTimestamp(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
public java.sql.Time getTime(java.lang.String identifier)
throws NotFoundException
identifier - the form field id
NotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||