borland Packages  Class Hierarchy  jbcl.model Package  Index 

ByteFormatter class

java.lang.Object
   +----borland.jbcl.model.ItemFormatter
           +----borland.jbcl.model.VariantFormatter
                   +----borland.jbcl.model.IntegerFormatter
                           +----borland.jbcl.model.ByteFormatter

About the ByteFormatter class

Variables  Constructors  Properties  Methods  

Implements Serializable

A formatter class for parsing and formatting byte data values. It is used in JBCL for formatting and parsing Byte columns in DataSets. The range of a Byte is -128 to 127.


ByteFormatter variables

Variables implemented in borland.jbcl.model.IntegerFormatter

ByteFormatter constructors

ByteFormatter properties

*Read-only properties **Write-only properties

Properties implemented in borland.jbcl.model.IntegerFormatter

Properties implemented in borland.jbcl.model.VariantFormatter

Properties implemented in java.lang.Object

ByteFormatter methods

Methods implemented in this class

Methods implemented in borland.jbcl.model.IntegerFormatter

Methods implemented in borland.jbcl.model.VariantFormatter

Methods implemented in java.lang.Object


ByteFormatter constructors

ByteFormatter(int)

  public ByteFormatter(int type)
Constructs a ByteFormatter class.

Parameters:

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

ByteFormatter methods

parse(borland.jbcl.util.Variant, char[], int, int)

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

Parameters:

variant
The parsed value (may not 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: borland.jbcl.model.IntegerFormatter.parse(borland.jbcl.util.Variant, char[], int, int)

parse(java.lang.String, borland.jbcl.util.Variant)

  public final void parse(java.lang.String stringValue, borland.jbcl.util.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: borland.jbcl.model.IntegerFormatter.parse(java.lang.String, borland.jbcl.util.Variant)