borland Packages Class Hierarchy dx.text Package
ShortFormatter class
java.lang.Object
+----com.borland.dx.text.ItemFormatter
+----com.borland.dx.text.VariantFormatter
+----com.borland.dx.text.IntegerFormatter
+----com.borland.dx.text.ShortFormatter
About the ShortFormatter class
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.
ShortFormatter variables
ShortFormatter constructors
ShortFormatter properties
*Read-only properties **Write-only properties
Properties implemented in java.lang.Object
ShortFormatter methods
Methods implemented in this class
Methods implemented in java.lang.Object
- clone()
- equals(java.lang.Object)
- finalize()
- hashCode()
- notify()
- notifyAll()
- toString()
- wait()
- wait(long)
- wait(long, int)
ShortFormatter constructors
ShortFormatter(int)
public ShortFormatter(int type)
Constructs a ShortFormatter object.
Parameters:
- type
- The value of type must always be Variant.SHORT for ShortFormatter.
ShortFormatter methods
parse(com.borland.dx.dataset.Variant, char[], int, int)
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.
Parameters:
- variant
- The parsed value (cannot be null).
- value
- The character array containing the text to parse.
- offset
- The zero-based offset into the character array.
- len
- The maximum number of characters in the array to use in the parse.
Overrides:
com.borland.dx.text.IntegerFormatter.parse(com.borland.dx.dataset.Variant, char[], int, int)
parse(java.lang.String, com.borland.dx.dataset.Variant)
public final void parse(String stringValue, Variant value)
Analyzes the given String and produces as output a Variant containing the approriate value.
Parameters:
- stringValue
- The string to be parsed.
- value
- The Variant that receives the parsed result.
Overrides:
com.borland.dx.text.IntegerFormatter.parse(java.lang.String, com.borland.dx.dataset.Variant)