xBaseJ
Class CharField

java.lang.Object
  |
  +--xBaseJ.Field
        |
        +--xBaseJ.CharField
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable

public class CharField
extends Field

See Also:
Serialized Form

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, put, readExternal, writeExternal
 
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.

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
Returns:
char field type

getType

public char getType()
return the character 'C' indicating a character Field

Overrides:
getType in class Field
Returns:
char field type