All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xBaseJ.CharField

java.lang.Object
   |
   +----xBaseJ.Field
           |
           +----xBaseJ.CharField

public class CharField
extends Field

Constructor Index

 o CharField(String, int)
public method for creating a CharacterField object.

Method Index

 o getType()
return the character 'C' indicating a character Field
 o type()
return the character 'C' indicating a character Field Deprecated.

Constructors

 o CharField
 public CharField(String iName,
                  int iLength) throws xBaseJException, IOException
public method for creating a CharacterField object. It is not associated with a database but can be when used with some DBF methods.

Parameters:
Name - the name of the field
Length - length of Field, range 1 to 254 bytes
Throws: xBaseJException
invalid length
Throws: IOException
can not occur but defined for calling methods
See Also:
Field

Methods

 o type
 public char type()
Note: type() is deprecated. use getType

return the character 'C' indicating a character Field

Overrides:
type in class Field
 o getType
 public char getType()
return the character 'C' indicating a character Field

Overrides:
getType in class Field

All Packages  Class Hierarchy  This Package  Previous  Next  Index