132133134135136137138139140141142
if (!found) { getResources(urlSet, resourceName, null, true); } if (found) { return (URL[]) urlSet.toArray(new URL[urlSet.size()]); } return new URL[0]; }
116117118119120121122123124125126
for (int i = 0; i < addedExcludes.length; i++) { excludeSet.add(addedExcludes[i]); } excludes = (String[]) excludeSet.toArray(new String[excludeSet.size()]); return this; } /**
110111112113114115116117118119120
112113114115116117118119120121122
for (String addedExclude : addedExcludes) { excludeSet.add(addedExclude); } excludes = (String[]) excludeSet.toArray(new String[excludeSet.size()]); return this; } /** 排除默认的文件。 */