Révision 2173
tmp/org.txm.core/src/java/org/txm/scripts/importer/CleanFile.groovy (revision 2173) | ||
---|---|---|
121 | 121 |
xmlStreamReader.close(); |
122 | 122 |
reader.close(); |
123 | 123 |
|
124 |
if (fileEncoding == null) fileEncoding = "UTF-8"; //$NON-NLS-1$ |
|
125 |
|
|
124 | 126 |
String text = IOUtils.getText(file, fileEncoding) |
125 | 127 |
text = CleanFile.clean(text); |
126 | 128 |
IOUtils.write(outputFile, text) |
Formats disponibles : Unified diff