|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jtreemap.ktreemap.example.TM3Bean
public class TM3Bean
Bean that contains the values of a line of a TM3 file
Field Summary | |
---|---|
static java.lang.String |
DATE
label "DATE" to identify Date in TM3 data file |
static java.text.SimpleDateFormat |
DATE_FORMAT
The default date format for TM3 file : MM/dd/yyyy |
static java.util.ArrayList<java.lang.String> |
fieldNames
list containing the field names of the TM3 file |
static java.util.ArrayList<java.lang.String> |
fieldTypes
list containing the field type of the TM3 file |
static java.lang.String |
FLOAT
label "FLOAT" to identify float in TM3 data file |
static java.lang.String |
INTEGER
label "INTEGER" to identify int in TM3 data file |
static java.lang.String |
STRING
label "STRING" to identify String in TM3 data file |
Constructor Summary | |
---|---|
TM3Bean()
|
Method Summary | |
---|---|
java.lang.String |
getLabel()
|
static java.lang.String[] |
getNumberFields()
|
java.lang.Object |
getValue(java.lang.String fieldName)
get the value of the field |
void |
setLabel(java.lang.String label)
|
void |
setValue(java.lang.String fieldName,
java.lang.Object value)
set the value of the field name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DATE
public static final java.lang.String FLOAT
public static final java.lang.String INTEGER
public static final java.lang.String STRING
public static final java.text.SimpleDateFormat DATE_FORMAT
public static java.util.ArrayList<java.lang.String> fieldNames
public static java.util.ArrayList<java.lang.String> fieldTypes
Constructor Detail |
---|
public TM3Bean()
Method Detail |
---|
public static java.lang.String[] getNumberFields()
public void setValue(java.lang.String fieldName, java.lang.Object value)
fieldName
- field namevalue
- value to setpublic java.lang.Object getValue(java.lang.String fieldName)
fieldName
- field name
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the label to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |