All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.MemoField
java.lang.Object
|
+----xBaseJ.Field
|
+----xBaseJ.MemoField
- public class MemoField
- extends Field
-
MemoField(String)
- public method for creating a memo field object.
-
get()
- return the contents of the memo Field, variant of the field.get method
-
getBytes()
- return the contents of the memo Field via its original byte array
-
getType()
- return the character 'M' indicating a memo field
-
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.
-
type()
- return the character 'M' indicating a memo field
Deprecated.
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
type
public char type()
- Note: type() is deprecated.
use getType
- return the character 'M' indicating a memo field
- Overrides:
- type in class Field
getType
public char getType()
- return the character 'M' indicating a memo field
- Overrides:
- getType in class Field
get
public String get()
- return the contents of the memo Field, variant of the field.get method
- Overrides:
- get in class Field
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
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