All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.Client.Field
java.lang.Object
|
+----xBaseJ.Client.Field
- public abstract class Field
- extends Object
xBaseJ - java access to dBase files
Copyright 1997-8 - American Coders, LTD - Raleigh NC USA
All rights reserved
Currently supports only dBase III format DBF, DBT and NDX files
dBase IV format DBF, DBT, MDX and NDX files
Package expires on October 31, 1998
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27615 USA
1-919-846-2014
http://www.americancoders.com
- Version:
- 1.6.0
- Author:
- Joe McVerry, American Coders Ltd.
-
Name
-
-
Field()
- creates a Field object.
-
decPoint()
-
-
get()
-
return String - field contents after any type of read.
-
length()
-
-
name()
-
-
put(String)
-
set field contents, no database updates until a DBF update or write is issued
-
type()
-
Name
public String Name
Field
public Field()
- creates a Field object.
not useful for the abstract Field class
- See Also:
- CharField, DateField, LogicalField, MemoField, NumField
name
public String name()
- Returns:
- String containing the field name
length
public int length()
- Returns:
- int - the field length
type
public char type() throws xBaseJException
- Returns:
- char '_' - default return value
- 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()
- return 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:
- String - value to set
- Throws: xBaseJException
- value length too long
All Packages Class Hierarchy This Package Previous Next Index