OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 174
Line 40... Line 40...
40
 
40
 
41
import org.apache.commons.dbutils.handlers.ArrayListHandler;
41
import org.apache.commons.dbutils.handlers.ArrayListHandler;
42
 
42
 
43
public class ExportFEC extends AbstractExport {
43
public class ExportFEC extends AbstractExport {
44
 
44
 
45
    private static final char ZONE_SEPARATOR = '\t';
45
    public static final char ZONE_SEPARATOR = '\t';
46
    private static final char RECORD_SEPARATOR = '\n';
46
    public static final char RECORD_SEPARATOR = '\n';
47
    private static final char REPLACEMENT = ' ';
47
    private static final char REPLACEMENT = ' ';
48
    static private final List<String> COLS = Arrays.asList("JournalCode", "JournalLib", "EcritureNum", "EcritureDate", "CompteNum", "CompteLib", "CompAuxNum", "CompAuxLib", "PieceRef", "PieceDate",
48
    public static final List<String> COLS = Arrays.asList("JournalCode", "JournalLib", "EcritureNum", "EcritureDate", "CompteNum", "CompteLib", "CompAuxNum", "CompAuxLib", "PieceRef", "PieceDate",
49
            "EcritureLib", "Debit", "Credit", "EcritureLet", "DateLet", "ValidDate", "Montantdevise", "Idevise");
49
            "EcritureLib", "Debit", "Credit", "EcritureLet", "DateLet", "ValidDate", "Montantdevise", "Idevise");
50
 
50
 
51
    private final DecimalFormat format = new DecimalFormat("##0.00", DecimalFormatSymbols.getInstance(Locale.FRANCE));
51
    private final DecimalFormat format = new DecimalFormat("##0.00", DecimalFormatSymbols.getInstance(Locale.FRANCE));
52
    private List<Object[]> data;
52
    private List<Object[]> data;
53
 
53