All Packages Class Hierarchy This Package Previous Next Index
Class xBaseJ.Field
java.lang.Object
|
+----xBaseJ.Field
- public abstract class Field
- extends Object
- implements Cloneable
-
decPoint()
-
Deprecated.
-
get()
-
-
getBytes()
-
returns the original byte array as stored in the file.
-
getDecimalPositionCount()
-
-
getLength()
-
-
getName()
-
-
getType()
-
-
length()
-
Deprecated.
-
name()
-
Deprecated.
-
put(String)
-
set field contents, no database updates until a DBF update or write is issued
-
type()
-
Deprecated.
name
public String name()
- Note: name() is deprecated.
use getName
- Returns:
- String contianing the field name
getName
public String getName()
- Returns:
- String contianing the field name
length
public int length()
- Note: length() is deprecated.
use getLength
- Returns:
- int - the field length
getLength
public int getLength()
- Returns:
- int - the field length
type
public char type() throws xBaseJException
- Note: type() is deprecated.
use getType
- Returns:
- char field type
- Throws: xBaseJException
- undefined field type
getType
public char getType() throws xBaseJException
- Returns:
- char field type
- Throws: xBaseJException
- undefined field type
decPoint
public int decPoint()
- Note: decPoint() is deprecated.
use getDecimalPositionCount
- Returns:
- int - the number of decimal positions for numeric fields, zero returned otherwise
getDecimalPositionCount
public int getDecimalPositionCount()
- Returns:
- int - the number of decimal positions for numeric fields, zero returned otherwise
get
public String get()
- Returns:
- String field contents after any type of read.
- Throws: UnsupportedEncodingException
- file coding is not supported by the jvm
getBytes
public byte[] getBytes()
- returns the original byte array as stored in the file.
- Returns:
- byte[] - may return a null if not set
put
public void put(String inValue) throws xBaseJException
- set field contents, no database updates until a DBF update or write is issued
- Parameters:
- inValue - value to set
- Throws: xBaseJException
- value length too long
- Throws: UnsupportedEncodingException
- file coding is not supported by the jvm
All Packages Class Hierarchy This Package Previous Next Index