Statistics
| Revision:

root / tmp / org.txm.core / src / groovy / org / txm / importer / DocBookCleaner.groovy @ 187

History | View | Annotate | Download (434 Bytes)

1
package org.txm.importer
2

    
3
import org.txm.sw.ChangeEncoding;
4

    
5
File origDir = new File("/home/mdecorde/xml/temoignages2/")
6
File outDir = new File("/home/mdecorde/xml/temoignages3/")
7

    
8
File f = new File(origDir, ".xml")
9
println f.getText("Windows-1252")
10
//for (File f : origDir.listFiles()) {
11
//        if (f.isHidden() || f.isDirectory()) continue;
12
//        
13
//        ChangeEncoding.processFile(f, "Windows-1252", "UTF-8")
14
//        println f.getText("UTF-8")
15
//}