All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.PictureField
java.lang.Object
|
+----xBaseJ.Field
|
+----xBaseJ.PictureField
- public class PictureField
- extends Field
-
PictureField(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 'P' indicating a picture field
-
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.
-
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.
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
getType
public char getType()
- return the character 'P' indicating a picture 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) 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
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