Révision 3639
TXM/trunk/org.txm.core/src/java/org/txm/metadatas/Metadatas.java (revision 3639) | ||
---|---|---|
636 | 636 |
if (this.inputMetadataFile != null && inputMetadataFile.getName().toLowerCase().endsWith(".csv")) { |
637 | 637 |
System.out.println("Maybe the metadata file doesn't have the right format (comma or tab separated values?)"); |
638 | 638 |
} |
639 |
if (!infile.equals(outfile)) { |
|
640 |
FileCopy.copy(infile, outfile); |
|
639 |
|
|
640 |
// Build an empty metadata injection -> all texts must have the same properties |
|
641 |
metas = new TextInjection(key, ""); |
|
642 |
for (String k : this.headersList) { |
|
643 |
metas.add(new Entry(k, "")); |
|
641 | 644 |
} |
642 |
return true; |
|
643 | 645 |
} |
644 | 646 |
|
645 | 647 |
// ensure attribute names format |
Formats disponibles : Unified diff