Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/discours/importer.groovy

importer.groovy (revision 479)
21 21
//
22 22
//
23 23
//
24
// $LastChangedDate: 2016-12-16 17:28:35 +0100 (Fri, 16 Dec 2016) $
25
// $LastChangedRevision: 3377 $
24
// $LastChangedDate: 2017-06-26 16:53:47 +0200 (lun. 26 juin 2017) $
25
// $LastChangedRevision: 3451 $
26 26
// $LastChangedBy: mdecorde $
27 27
//
28 28
package org.txm.importer.discours
......
52 52
import org.txm.*;
53 53
import org.txm.utils.*;
54 54
import org.txm.utils.i18n.DetectBOM;
55
import org.txm.utils.io.FileCopy;
56 55

  
57 56
// TODO: Auto-generated Javadoc
58 57
/**
......
189 188
			int nline = 0;
190 189
			def errors = [];
191 190
			while (line != null) {
191
				line = CleanFile.clean(line); // remove ctrl and surrogate chars
192
				
192 193
				nline++;
193 194
				String[] fields = line.split(separator);
194 195
				if (fields.size() == attrs.size()) {

Also available in: Unified diff