All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class xBaseJ.PictureField

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

public class PictureField
extends Field

Constructor Index

 o PictureField(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 'P' indicating a picture field
 o put(byte[])
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 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.

Constructors

 o PictureField
 public PictureField(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 getType
 public char getType()
return the character 'P' indicating a picture 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) throws xBaseJException
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
 o put
 public void put(byte inBytes[]) throws xBaseJException
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.

All Packages  Class Hierarchy  This Package  Previous  Next  Index