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.ShortFormatter
Variables Constructors Properties Methods
Implements Serializable
A Formatter class for parsing and formatting short data types. ShortFormatter
is used for short columns, handling values within the range of 32767 to -32768.
public ShortFormatter(int type)Constructs a
ShortFormatter
object.
type
type
must always be Variant.SHORT
for ShortFormatter
.
public final void parse(Variant variant, char[] value, int offset, int len)Analyzes the text in a character array and produces as output a
Variant
containing the parsed value.
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.