borland Packages Class Hierarchy dx.text Package
java.lang.Object +----com.borland.dx.text.ItemFormatter +----com.borland.dx.text.VariantFormatter +----com.borland.dx.text.IntegerFormatter +----com.borland.dx.text.ByteFormatter
Variables Constructors Properties Methods
Implements Serializable
A formatter class for parsing and formatting byte data values. It is used for formatting and parsing byte columns in DataSets
. The range of a byte is -128 to 127.
public ByteFormatter(int type)Constructs a
ByteFormatter
object.
type
type
must always be Variant.BYTE
.
public final void parse(Variant variant, char[] value, int offset, int len)A high-speed parse that parses directly into a character array.
variant
value
offset
len
public final void parse(String stringValue, Variant value)Analyzes the given
String
and produces as output a Variant
containing the approriate value.
stringValue
value
Variant
that receives the parsed result.