EspressReport 6.6

quadbase.util
Interface IFormat

All Known Implementing Classes:
DateTimeFormat, LocaleDateTimeFormat, LocaleNumericFormat, LogicalFormat, NumericFormat

public interface IFormat

Tagging interface for data formats.

See Also:
java.util.LogicalFormat, java.util.NumericFormat, java.util.LocaleNumericFormat, java.util.DateTimeFormat, java.util.LocaleDateTimeFormat

Field Summary
static int DATETIME
           
static int LOCALEDATETIME
           
static int LOCALENUMERIC
           
static int LOGICAL
           
static int NUMERIC
           
 
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
 

Field Detail

LOGICAL

static final int LOGICAL
See Also:
Constant Field Values

NUMERIC

static final int NUMERIC
See Also:
Constant Field Values

LOCALENUMERIC

static final int LOCALENUMERIC
See Also:
Constant Field Values

DATETIME

static final int DATETIME
See Also:
Constant Field Values

LOCALEDATETIME

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

getFormatType

int getFormatType()
Returns the type of format

Returns:
LOGICAL, NUMERIC, LOCALENUMERIC, DATETIME or LOCALEDATETIME

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

EspressReport 6.6