Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org » jfree » report » filter » [javadoc | source]
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.

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. 
Constructor:
 public FormatSpecification() 
Method from org.jfree.report.filter.FormatSpecification Summary:
getFormatString,   getType,   redefine
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.filter.FormatSpecification Detail:
 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.