xBaseJ
Class CharField

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

public class CharField
extends Field


Constructor Summary
CharField(java.lang.String iName, int iLength)
          public method for creating a CharacterField object.
 
Method Summary
 char getType()
          return the character 'C' indicating a character Field
 char type()
          Deprecated. use getType
 
Methods inherited from class xBaseJ.Field
decPoint, get, getBytes, getDecimalPositionCount, getLength, getName, length, name, put
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharField

public CharField(java.lang.String iName,
                 int iLength)
          throws xBaseJException,
                 java.io.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
java.io.IOException - can not occur but defined for calling methods
See Also:
Field
Method Detail

type

public char type()
Deprecated. use getType

return the character 'C' indicating a character Field
Overrides:
type in class Field
Tags copied from class: Field
Returns:
char field type
Throws:
xBaseJException - undefined field type

getType

public char getType()
return the character 'C' indicating a character Field
Overrides:
getType in class Field
Tags copied from class: Field
Returns:
char field type
Throws:
xBaseJException - undefined field type