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.

Variable Index

 o Name

Constructor Index

 o Field()
creates a Field object.

Method Index

 o decPoint()
 o get()
return String - field contents after any type of read.
 o length()
 o name()
 o put(String)
set field contents, no database updates until a DBF update or write is issued
 o type()

Variables

 o Name
 public String Name

Constructors

 o Field
 public Field()
creates a Field object. not useful for the abstract Field class

See Also:
CharField, DateField, LogicalField, MemoField, NumField

Methods

 o name
 public String name()
Returns:
String containing the field name
 o length
 public int length()
Returns:
int - the field length
 o type
 public char type() throws xBaseJException
Returns:
char '_' - default return value
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()
return 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:
String - value to set
Throws: xBaseJException
value length too long

All Packages  Class Hierarchy  This Package  Previous  Next  Index