Package net.sf.jasperreports.export
Class SimpleCsvExporterConfiguration
java.lang.Object
net.sf.jasperreports.export.SimpleCommonExportConfiguration
net.sf.jasperreports.export.SimpleExporterConfiguration
net.sf.jasperreports.export.SimpleCsvExporterConfiguration
- All Implemented Interfaces:
CommonExportConfiguration,CsvExporterConfiguration,ExporterConfiguration
- Direct Known Subclasses:
SimpleCsvMetadataExporterConfiguration
public class SimpleCsvExporterConfiguration
extends SimpleExporterConfiguration
implements CsvExporterConfiguration
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
Fields inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
PROPERTY_EXPORT_CONFIGURATION_OVERRIDE_REPORT_HINTSFields inherited from interface net.sf.jasperreports.export.CsvExporterConfiguration
PROPERTY_ESCAPE_FORMULA, PROPERTY_FIELD_DELIMITER, PROPERTY_FIELD_ENCLOSURE, PROPERTY_FORCE_FIELD_ENCLOSURE, PROPERTY_RECORD_DELIMITER, PROPERTY_WRITE_BOM -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a flag that enforces field values containing formula to be escaped in order to be interpreted as pure text.Returns the string representing the character or sequence of characters to be used to delimit two fields on the same record.Returns a string representing the character to be used to enclose a field value on a record.Returns a flag that enforces all exported field values to be enclosed within a pair of enclosure characters (usually a pair of quotes: "").Returns the string representing the character or sequence of characters to be used to delimit two records.Specifies whether the exporter should put a BOM character at the beginning of the output.voidsetEscapeFormula(Boolean escapeFormula) voidsetFieldDelimiter(String fieldDelimiter) voidsetFieldEnclosure(String fieldEnclosure) voidsetForceFieldEnclosure(Boolean forceFieldEnclosure) voidsetRecordDelimiter(String recordDelimiter) voidsetWriteBOM(Boolean isWriteBOM) Methods inherited from class net.sf.jasperreports.export.SimpleCommonExportConfiguration
isOverrideHints, setOverrideHintsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.export.CommonExportConfiguration
isOverrideHints
-
Constructor Details
-
SimpleCsvExporterConfiguration
public SimpleCsvExporterConfiguration()
-
-
Method Details
-
getFieldDelimiter
Description copied from interface:CsvExporterConfigurationReturns the string representing the character or sequence of characters to be used to delimit two fields on the same record.- Specified by:
getFieldDelimiterin interfaceCsvExporterConfiguration- See Also:
-
setFieldDelimiter
-
getFieldEnclosure
Description copied from interface:CsvExporterConfigurationReturns a string representing the character to be used to enclose a field value on a record. If this is a multi-character string, the first character only will be taken into account. White spaces are not considered. Default value is ".- Specified by:
getFieldEnclosurein interfaceCsvExporterConfiguration- See Also:
-
setFieldEnclosure
-
getRecordDelimiter
Description copied from interface:CsvExporterConfigurationReturns the string representing the character or sequence of characters to be used to delimit two records.- Specified by:
getRecordDelimiterin interfaceCsvExporterConfiguration- See Also:
-
setRecordDelimiter
-
isWriteBOM
Description copied from interface:CsvExporterConfigurationSpecifies whether the exporter should put a BOM character at the beginning of the output.- Specified by:
isWriteBOMin interfaceCsvExporterConfiguration- See Also:
-
setWriteBOM
-
getForceFieldEnclosure
Description copied from interface:CsvExporterConfigurationReturns a flag that enforces all exported field values to be enclosed within a pair of enclosure characters (usually a pair of quotes: ""). Default value isfalse.- Specified by:
getForceFieldEnclosurein interfaceCsvExporterConfiguration- See Also:
-
setForceFieldEnclosure
-
getEscapeFormula
Description copied from interface:CsvExporterConfigurationReturns a flag that enforces field values containing formula to be escaped in order to be interpreted as pure text. Default value isfalse.- Specified by:
getEscapeFormulain interfaceCsvExporterConfiguration- See Also:
-
setEscapeFormula
-