/** * Add strings accepted by this filter predicate. Strings argument can come from {@link File#list()} and can be null in * which case this method does nothing. * * @param strings strings to scan for pattern, possible null. */ public void addAll(String[] strings) { if (strings == null) { return; } for (String string : strings) { add(string); } }
Enumeration<JarEntry> entries = jar.entries(); while(entries.hasMoreElements()) { resources.add(entries.nextElement().getName());