Class FIXGRIDCsvExporter
java.lang.Object
org.eclnt.jsfserver.elements.util.FIXGRIDCsvExporter
- All Implemented Interfaces:
IFIXGRIDCsvExporter
Default implementation of
IFIXGRIDCsvExporter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendToStringBuffer(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion) static voidappendToStringBufferCSV(StringBuffer sb, List<List<String>> rows, boolean withPlaceHolderConversion, String delimiter) Build the actual CSV string.protected voidepxortFooterLines(StringBuffer result) protected voidexportBody(StringBuffer result) exportGrid(FIXGRIDBinding fixgrid, boolean selectedItemsOnly) Creation of csv document.protected voidexportHeaderlines(StringBuffer result) protected Stringprotected voidsanitizeCSVLine(List<List<String>> data)
-
Constructor Details
-
FIXGRIDCsvExporter
public FIXGRIDCsvExporter()
-
-
Method Details
-
exportGrid
Description copied from interface:IFIXGRIDCsvExporterCreation of csv document.- Specified by:
exportGridin 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)
-