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