|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xBaseJ.fields.Field
org.xBaseJ.fields.MemoField
| Field Summary |
| Fields inherited from class org.xBaseJ.fields.Field |
buffer, bytebuffer, Deleted, Length, myoffset, Name, otherValidCharacters |
| Constructor Summary | |
MemoField()
|
|
MemoField(boolean inFoxPro)
|
|
MemoField(String iName)
public method for creating a memo field object. |
|
MemoField(String iName,
boolean inFoxPro)
public method for creating a FoxPro memo field object. |
|
MemoField(String Name,
java.nio.ByteBuffer inBuffer,
DBTFile indbtobj)
|
|
| Method Summary | |
Object |
clone()
|
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()
|
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(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. |
void |
read()
|
void |
setDBTObj(DBTFile indbtobj)
|
void |
update()
|
void |
write()
|
| Methods inherited from class org.xBaseJ.fields.Field |
getDecimalPositionCount, getLength, getName, readExternal, setBuffer, setBufferSpace, setField, writeExternal |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MemoField()
public MemoField(boolean inFoxPro)
public MemoField(String Name,
java.nio.ByteBuffer inBuffer,
DBTFile indbtobj)
throws xBaseJException,
IOException
public MemoField(String iName)
throws xBaseJException,
IOException
iName - the name of the field
xBaseJException - exception caused in calling methods
IOException - can not occur but defined for calling methodsField
public MemoField(String iName,
boolean inFoxPro)
throws xBaseJException,
IOException
iName - the name of the fieldinFoxPro - - boolean
xBaseJException - exception caused in calling methods
IOException - can not occur but defined for calling methodsField| Method Detail |
public boolean isFoxPro()
public void setDBTObj(DBTFile indbtobj)
public Object clone()
throws CloneNotSupportedException
clone in class FieldCloneNotSupportedExceptionpublic char getType()
getType in class Fieldpublic String get()
get in class Fieldpublic byte[] getBytes()
getBytes in class Field
public void read()
throws IOException,
xBaseJException
read in class FieldIOException
xBaseJExceptionpublic void put(String invalue)
put in class Fieldinvalue - value to set Field to.
public void put(byte[] inBytes)
throws xBaseJException
put in class FieldinBytes - byte array value to set Field to.
xBaseJException - value length too long
public void write()
throws IOException,
xBaseJException
write in class FieldIOException
xBaseJException
public void update()
throws IOException,
xBaseJException
update in class FieldIOException
xBaseJException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||