All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.Field
java.lang.Object
|
+----xBaseJ.Field
- public abstract class Field
- extends Object
- implements Cloneable
-
decPoint()
-
-
get()
-
-
length()
-
-
name()
-
-
put(String)
-
set field contents, no database updates until a DBF update or write is issued
-
type()
-
name
public String name()
- Returns:
- String contianing the field name
length
public int length()
- Returns:
- int - the field length
type
public char type() throws xBaseJException
- Returns:
- char field type
- Throws: xBaseJException
- undefined field type
decPoint
public int decPoint()
- Returns:
- int - the number of decimal positions for numeric fields, zero returned otherwise
get
public String get()
- Returns:
- String field contents after any type of read.
put
public void put(String inValue) throws xBaseJException
- set field contents, no database updates until a DBF update or write is issued
- Parameters:
- inValue - value to set
- Throws: xBaseJException
- value length too long
All Packages Class Hierarchy This Package Previous Next Index