|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--xBaseJ.Field
| Method Summary | |
int |
decPoint()
Deprecated. use getDecimalPositionCount |
java.lang.String |
get()
|
byte[] |
getBytes()
returns the original byte array as stored in the file. |
int |
getDecimalPositionCount()
|
int |
getLength()
|
java.lang.String |
getName()
|
char |
getType()
|
int |
length()
Deprecated. use getLength |
java.lang.String |
name()
Deprecated. use getName |
void |
put(byte[] inValue)
set field contents with binary data, no database updates until a DBF update or write is issued if inValue is too short buffer is filled with binary zeros. |
void |
put(java.lang.String inValue)
set field contents, no database updates until a DBF update or write is issued |
void |
readExternal(java.io.ObjectInput in)
used by externalize methods |
char |
type()
Deprecated. use getType |
void |
writeExternal(java.io.ObjectOutput out)
used by externalize methods |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablein - ObjectInput streamjava.io.IOException - - most likely class changed since writtenjava.lang.ClassNotFoundException - - only when dummy constructro not found
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizableout - ObjectOutput streamjava.io.IOException - Java.io errorpublic java.lang.String name()
public java.lang.String getName()
public int length()
public int getLength()
public char type()
throws xBaseJException
xBaseJException - undefined field type
public char getType()
throws xBaseJException
xBaseJException - undefined field typepublic int decPoint()
public int getDecimalPositionCount()
public java.lang.String get()
public byte[] getBytes()
public void put(java.lang.String inValue)
throws xBaseJException
inValue - value to setxBaseJException - value length too long
public void put(byte[] inValue)
throws xBaseJException
inValue - byte arrayxBaseJException - value length too long
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||