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

Method Index

 o decPoint()
 o get()
 o length()
 o name()
 o put(String)
set field contents, no database updates until a DBF update or write is issued
 o type()

Methods

 o name
 public String name()
Returns:
String contianing the field name
 o length
 public int length()
Returns:
int - the field length
 o type
 public char type() throws xBaseJException
Returns:
char field type
Throws: xBaseJException
undefined field type
 o decPoint
 public int decPoint()
Returns:
int - the number of decimal positions for numeric fields, zero returned otherwise
 o get
 public String get()
Returns:
String field contents after any type of read.
 o 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