Révision 2707
tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xtz/XTZImport.groovy (revision 2707) | ||
---|---|---|
63 | 63 |
ArrayList<File> files = new ArrayList<File>(Arrays.asList(txmDirectory.listFiles(new FileFilter() { |
64 | 64 |
@Override |
65 | 65 |
public boolean accept(File file) { |
66 |
return file.isFile() && file.getName().endsWith(".xml"); |
|
66 |
return file.isFile() && !file.isHidden() && file.getName().endsWith(".xml");
|
|
67 | 67 |
} |
68 | 68 |
}))); |
69 | 69 |
|
... | ... | |
78 | 78 |
} |
79 | 79 |
} |
80 | 80 |
|
81 |
println "Sorting texts using 'textorder' metadata values: "+textorder |
|
81 |
println "Sorting texts using the 'textorder' metadata values: "+textorder
|
|
82 | 82 |
def texts = project.getTextsID(); |
83 | 83 |
Collections.sort(texts, new Comparator<String>() { |
84 | 84 |
public int compare(String f1, String f2) { |
Formats disponibles : Unified diff