| |
|
| java.lang.Object org.jfree.report.filter.FormatSpecification
FormatSpecification | public class FormatSpecification (Code) | | The FormatSpecification classifies a format string into the 4 known classes of format-strings of Java. This is used
by the Excel-export to transform the raw-formatstring into a suitable cell-format.
This class is plain value-carrier. It is mutable and should not be used outside the scope of querying
raw-datasources.
author: : Thomas Morgner |
Field Summary | |
final public static int | TYPE_CHOICE_FORMAT A constant declaring that the format-type is a choice-format. | final public static int | TYPE_DATE_FORMAT A constant declaring that the format-type is a simple date-format. | final public static int | TYPE_DECIMAL_FORMAT A constant declaring that the format-type is a decimal-format. | final public static int | TYPE_MESSAGE_FORMAT A constant declaring that the format-type is a message-format. | final public static int | TYPE_UNDEFINED A constant declaring that the format-type cannot be determined in a reliable way. |
Method Summary | |
public String | getFormatString() Returns the raw-format-string. | public int | getType() Returns the type of the format string contained in this class. | public void | redefine(int type, String formatString) Redefines the values stored in this specification object. |
TYPE_CHOICE_FORMAT | final public static int TYPE_CHOICE_FORMAT(Code) | | A constant declaring that the format-type is a choice-format.
|
TYPE_DATE_FORMAT | final public static int TYPE_DATE_FORMAT(Code) | | A constant declaring that the format-type is a simple date-format.
|
TYPE_DECIMAL_FORMAT | final public static int TYPE_DECIMAL_FORMAT(Code) | | A constant declaring that the format-type is a decimal-format.
|
TYPE_MESSAGE_FORMAT | final public static int TYPE_MESSAGE_FORMAT(Code) | | A constant declaring that the format-type is a message-format.
|
TYPE_UNDEFINED | final public static int TYPE_UNDEFINED(Code) | | A constant declaring that the format-type cannot be determined in a reliable way.
|
getFormatString | public String getFormatString()(Code) | | Returns the raw-format-string.
the format string. |
getType | public int getType()(Code) | | Returns the type of the format string contained in this class.
the type. |
redefine | public void redefine(int type, String formatString)(Code) | | Redefines the values stored in this specification object.
Parameters: type - the type, one of the constants declared in this class. Parameters: formatString - the format string. |
|
|
|