EspressReport 6.6

quadbase.reportdesigner.util
Interface IFormat

All Known Implementing Classes:
BarcodeFormat, ImageURLFormat, LocaleDateTimeFormat, LocaleNumericFormat, LogicalFormat, NumericFormat, StringFormat, TextURLFormat

public interface IFormat

Tagging interface for data formats.

See Also:
LogicalFormat, NumericFormat, LocaleNumericFormat, DateTimeFormat, LocaleDateTimeFormat, StringFormat

Field Summary
static int BARCODE
          data format type is Barcode
static int DATETIME
          data format type is DateTime
static int IMAGEURL
           
static int LOCALEDATETIME
          data format type is LocaleDateTime
static int LOCALENUMERIC
          data format type is LocaleNumeric
static int LOGICAL
          data format type is Logical
static int NUMERIC
          data format type is Numeric
static int STRING
          data format type is String
static int TEXTURL
           
 
Method Summary
 java.lang.String format(java.lang.Object target)
          Convert the object to a string using the formatting rules encapsulated by the IFormat subclass
 int getFormatType()
          Returns the type of format
 java.lang.String getTextFormat()
          For internal use only
 

Field Detail

LOGICAL

static final int LOGICAL
data format type is Logical

See Also:
Constant Field Values

NUMERIC

static final int NUMERIC
data format type is Numeric

See Also:
Constant Field Values

LOCALENUMERIC

static final int LOCALENUMERIC
data format type is LocaleNumeric

See Also:
Constant Field Values

DATETIME

static final int DATETIME
data format type is DateTime

See Also:
Constant Field Values

LOCALEDATETIME

static final int LOCALEDATETIME
data format type is LocaleDateTime

See Also:
Constant Field Values

STRING

static final int STRING
data format type is String

See Also:
Constant Field Values

BARCODE

static final int BARCODE
data format type is Barcode

See Also:
Constant Field Values

IMAGEURL

static final int IMAGEURL
See Also:
Constant Field Values

TEXTURL

static final int TEXTURL
See Also:
Constant Field Values
Method Detail

getFormatType

int getFormatType()
Returns the type of format

Returns:
LOGICAL, NUMERIC, LOCALENUMERIC, DATETIME, LOCALEDATETIME, STRING BARCODE, IMAGEURL, or TEXTURL

format

java.lang.String format(java.lang.Object target)
Convert the object to a string using the formatting rules encapsulated by the IFormat subclass

Returns:
Formatted string

getTextFormat

java.lang.String getTextFormat()
For internal use only


EspressReport 6.6