Class FIXGRIDCsvExporter
java.lang.Object
org.eclnt.jsfserver.elements.util.FIXGRIDCsvExporter
- All Implemented Interfaces:
IFIXGRIDCsvExporter
Default implementation of
IFIXGRIDCsvExporter
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendToStringBuffer
(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion) static void
appendToStringBufferCSV
(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion, String delimiter) Build the actual CSV string.protected void
epxortFooterLines
(StringBuffer result) protected void
exportBody
(StringBuffer result) exportGrid
(FIXGRIDBinding fixgrid, boolean selectedItemsOnly) Creation of csv document.protected void
exportHeaderlines
(StringBuffer result) protected String
protected void
sanitizeCSVLine
(List<List<String>> data)
-
Constructor Details
-
FIXGRIDCsvExporter
public FIXGRIDCsvExporter()
-
-
Method Details
-
exportGrid
Description copied from interface:IFIXGRIDCsvExporter
Creation of csv document.- Specified by:
exportGrid
in interfaceIFIXGRIDCsvExporter
-
appendToStringBufferCSV
public static void appendToStringBufferCSV(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion, String delimiter) Build the actual CSV string. This method is outsourced because it is also used within the (old) export of grid ranges withinFIXGRIDBinding
. -
findDelimiter
-
exportBody
-
exportHeaderlines
-
sanitizeCSVLine
-
readHeaderLinesFromGrid
-
readBodyLinesFromGrid
-
appendToStringBuffer
protected void appendToStringBuffer(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion)
-