public Set getTargetFiles()

in src/main/java/org/apache/maven/shared/io/scan/mapping/SuffixMapping.java [56:68]


    public Set<File> getTargetFiles(File targetDir, String source) {
        Set<File> targetFiles = new HashSet<File>();

        if (source.endsWith(sourceSuffix)) {
            String base = source.substring(0, source.length() - sourceSuffix.length());

            for (String suffix : targetSuffixes) {
                targetFiles.add(new File(targetDir, base + suffix));
            }
        }

        return targetFiles;
    }