borland Packages  Class Hierarchy  dx.text Package 

ByteFormatter class

java.lang.Object
   +----com.borland.dx.text.ItemFormatter
           +----com.borland.dx.text.VariantFormatter
                   +----com.borland.dx.text.IntegerFormatter
                           +----com.borland.dx.text.ByteFormatter

About the ByteFormatter class

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.


ByteFormatter variables

Variables implemented in com.borland.dx.text.IntegerFormatter

ByteFormatter constructors

ByteFormatter properties

*Read-only properties **Write-only properties

Properties implemented in com.borland.dx.text.IntegerFormatter

Properties implemented in com.borland.dx.text.VariantFormatter

Properties implemented in java.lang.Object

ByteFormatter methods

Methods implemented in this class

Methods implemented in com.borland.dx.text.IntegerFormatter

Methods implemented in com.borland.dx.text.VariantFormatter

Methods implemented in java.lang.Object


ByteFormatter constructors

ByteFormatter(int)

  public ByteFormatter(int type)
Constructs a ByteFormatter object.

Parameters:

type
The value of type must always be Variant.BYTE.

ByteFormatter methods

parse(com.borland.dx.dataset.Variant, char[], int, int)

  public final void parse(Variant variant, char[] value, int offset, int len)
A high-speed parse that parses directly into a character array.

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)