All Packages  This Package  Class Hierarchy  Class Search  Index

Class xBaseJ.FloatField
java.lang.Object
   |
   +----xBaseJ.Field
           |
           +----xBaseJ.NumField
                   |
                   +----xBaseJ.FloatField

  Summary

public class  FloatField
     extends xBaseJ.NumField
{
          // Constructors 1
     public FloatField(String, int, int) throws xBaseJException, IOException;

          // Methods 2
     public char getType();
     public char type();
}




  Constructors

· FloatField

Summary  |  Top

   public FloatField(String iName, 
                     int iLength, 
                     int DecPoint)  throws xBaseJException, IOException

public method for creating a numeric field object. It is not associated with a database but can be when used with some DBF methods.

Parameter Description
Name the name of the field
Length the length of Field. range is 1 to 19 bytes
DecPoint the number of decimal positions range from 2 to 17 bytes. Relative to Length.

Throws: xBaseJException
bad name, length or decimal positions specified
Throws: IOException
can not occur but defined for calling methods

See Also: Field



  Methods

· type

Summary  |  Top
   public char type() 
Note: type() is deprecateduse getType

return the character 'F' indicating a float field

Overrides:
type in class NumField


· getType

Summary  |  Top
   public char getType() 

return the character 'F' indicating a float field

Overrides:
getType in class NumField


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7