public class DbaseData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_BOOLEAN
Data is an array of booleans (boolean[]).
|
static int |
TYPE_CHAR
Character type data (String[]).
|
static int |
TYPE_NUMERIC
Data is an array of doubles (double[]).
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
asList()
_more_
|
boolean |
getBoolean(int i)
Method to retrieve a boolean for this field
|
boolean[] |
getBooleans()
Method to retrieve a booleans array for this field
|
java.lang.Object |
getData(int i)
Method to retrieve data for this field
|
double |
getDouble(int i)
Method to retrieve a double for this field
|
double[] |
getDoubles()
Method to retrieve the double array for this field
|
int |
getNumRec() |
java.lang.String |
getString(int i)
Method to retrieve a String for this field
|
java.lang.String[] |
getStrings()
Method to retrieve an array of Strings for this field
|
int |
getType()
Method to return the type of data for the field
|
public static final int TYPE_CHAR
public static final int TYPE_NUMERIC
public static final int TYPE_BOOLEAN
public int getType()
public double[] getDoubles()
public double getDouble(int i)
i
- index of desired double, assumes 0 < i < getNumRec()public boolean[] getBooleans()
public boolean getBoolean(int i)
i
- index of desired boolean, assumes 0 < i < getNumRec()public java.lang.String[] getStrings()
public java.lang.String getString(int i)
i
- index of desired String, assumes 0 < i < getNumRec()public java.util.List asList()
public java.lang.Object getData(int i)
i
- index of desired String, assumes 0 < i < getNumRec()public int getNumRec()