EspressChart
v 5.5

quadbase.util
Interface IFormat

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

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

public static final int LOGICAL

NUMERIC

public static final int NUMERIC

LOCALENUMERIC

public static final int LOCALENUMERIC

DATETIME

public static final int DATETIME

LOCALEDATETIME

public static final int LOCALEDATETIME
Method Detail

getFormatType

public int getFormatType()
Returns the type of format
Returns:
LOGICAL, NUMERIC, LOCALENUMERIC, DATETIME or LOCALEDATETIME

format

public 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

EspressChart
v 5.5