Revision 625 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/xtz/XTZImporter.groovy

XTZImporter.groovy (revision 625)
6 6

  
7 7
import net.sf.saxon.style.XSLParam;
8 8

  
9
import org.txm.importer.ApplyXsl2;
10
import org.txm.importer.CleanFile;
11
import org.txm.importer.MileStoneProjection;
12
import org.txm.importer.ValidateXml;
13
import org.txm.*;
9
import org.txm.importer.ApplyXsl2
10
import org.txm.importer.CleanFile
11
import org.txm.importer.MileStoneProjection
12
import org.txm.importer.ValidateXml
13
import org.txm.*
14 14

  
15 15
import javax.xml.parsers.SAXParser
16 16
import javax.xml.parsers.SAXParserFactory
17
import javax.xml.stream.*;
17
import javax.xml.stream.*
18 18

  
19 19
import org.w3c.dom.Element
20 20
import org.xml.sax.XMLReader
21
import org.txm.utils.xml.DomUtils;
21
import org.txm.utils.xml.DomUtils
22 22
import org.txm.metadatas.Metadatas
23 23
import org.txm.objects.BaseParameters
24 24
import org.txm.scripts.teitxm.Xml2Ana
25 25
import org.txm.stat.utils.ConsoleProgressBar
26
import org.txm.utils.*;
26
import org.txm.utils.io.*
27 27

  
28 28
class XTZImporter extends Importer {
29 29

  
......
155 155
			if (file.getName().toLowerCase().endsWith(".xml")) {
156 156
				CleanFile.removeSurrogateFromXmlFile(file, outputFile)
157 157
			} else {
158
				FileCopy.copy(file, outputFile)
158
				FileCopy.copyFiles(file, outputFile)
159 159
			}
160 160
		}
161 161

  

Also available in: Unified diff