|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xBaseJ.Field | +--xBaseJ.MemoField
Constructor Summary | |
MemoField(java.lang.String iName)
public method for creating a memo field object. |
|
MemoField(java.lang.String iName,
boolean inFoxPro)
public method for creating a FoxPro memo field object. |
Method Summary | |
java.lang.String |
get()
return the contents of the memo Field, variant of the field.get method |
byte[] |
getBytes()
return the contents of the memo Field via its original byte array |
char |
getType()
return the character 'M' indicating a memo field |
boolean |
isFoxPro()
returns true if MemoField created to be used in FoxPro fpt file. |
void |
put(byte[] inBytes)
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. |
void |
put(java.lang.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. |
char |
type()
Deprecated. use getType |
Methods inherited from class xBaseJ.Field |
decPoint, getDecimalPositionCount, getLength, getName, length, name, readExternal, writeExternal |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemoField(java.lang.String iName) throws xBaseJException, java.io.IOException
Name
- the name of the fieldxBaseJException
- exception caused in calling methodsjava.io.IOException
- can not occur but defined for calling methodsField
public MemoField(java.lang.String iName, boolean inFoxPro) throws xBaseJException, java.io.IOException
Name
- the name of the fieldinFoxPro
- - booleanxBaseJException
- exception caused in calling methodsjava.io.IOException
- can not occur but defined for calling methodsField
Method Detail |
public boolean isFoxPro()
public char type()
type
in class Field
xBaseJ.Field
xBaseJException
- undefined field typepublic char getType()
getType
in class Field
xBaseJ.Field
xBaseJException
- undefined field typepublic java.lang.String get()
get
in class Field
xBaseJ.Field
public byte[] getBytes()
getBytes
in class Field
byte[]
- - if not set a null is returned.public void put(java.lang.String invalue)
put
in class Field
invalue
- string to set Field to.public void put(byte[] inBytes) throws xBaseJException
put
in class Field
invalue
- bytye array value to set Field to.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |