org.jfree.report.filter
public class: FormatSpecification [javadoc |
source]
java.lang.Object
org.jfree.report.filter.FormatSpecification
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 |
|---|
| public static final int | TYPE_UNDEFINED | A constant declaring that the format-type cannot be determined in a reliable way. |
| public static final int | TYPE_DATE_FORMAT | A constant declaring that the format-type is a simple date-format. |
| public static final int | TYPE_DECIMAL_FORMAT | A constant declaring that the format-type is a decimal-format. |
| public static final int | TYPE_MESSAGE_FORMAT | A constant declaring that the format-type is a message-format. |
| public static final int | TYPE_CHOICE_FORMAT | A constant declaring that the format-type is a choice-format. |
| Method from org.jfree.report.filter.FormatSpecification Detail: |
public String getFormatString() {
return formatString;
}
Returns the raw-format-string. |
public int getType() {
return type;
}
Returns the type of the format string contained in this class. |
public void redefine(int type,
String formatString) {
this.type = type;
this.formatString = formatString;
}
Redefines the values stored in this specification object. |