{@inheritDoc}.
List inputs = new ArrayList();
List results = new ArrayList();
results.add(sourceFileName);
FileNameMapper mapper = null;
for (Iterator mIter = getMappers().iterator(); mIter.hasNext();) {
mapper = (FileNameMapper) (mIter.next());
if (mapper != null) {
inputs.clear();
inputs.addAll(results);
results.clear();
for (Iterator it = inputs.iterator(); it.hasNext();) {
String[] mapped = mapper.mapFileName((String) (it.next()));
if (mapped != null) {
results.addAll(Arrays.asList(mapped));
}
}
}
}
return (results.size() == 0) ? null
: (String[]) results.toArray(new String[results.size()]);