All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xBaseJ.MemoField

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

public class MemoField
extends Field

Constructor Index

 o MemoField(String)
public method for creating a memo field object.

Method Index

 o get()
return the contents of the memo Field, variant of the field.get method
 o getBytes()
return the contents of the memo Field via its original byte array
 o getType()
return the character 'M' indicating a memo field
 o put(String)
sets the contents of the memo Field, variant of the field.put method data not written into DBF until an update or write is issued.
 o type()
return the character 'M' indicating a memo field Deprecated.

Constructors

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

Parameters:
Name - the name of the field
Throws: xBaseJException
exception caused in calling methods
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 'M' indicating a memo field

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

Overrides:
getType in class Field
 o get
 public String get()
return the contents of the memo Field, variant of the field.get method

Overrides:
get in class Field
 o getBytes
 public byte[] getBytes()
return the contents of the memo Field via its original byte array

Parameters:
byte[] - - if not set a null is returned.
Overrides:
getBytes in class Field
 o put
 public void put(String invalue)
sets the contents of the memo Field, variant of the field.put method data not written into DBF until an update or write is issued.

Parameters:
invalue - value to set Field to.
Overrides:
put in class Field

All Packages  Class Hierarchy  This Package  Previous  Next  Index