public Collection<String> getDirectories() throws IOException { return delegate.getDirectories(); } }
@Override public Collection<String> getDirectories() throws IOException { final Collection<String> result = new LinkedHashSet<String>(); for (ReadableArchive ra : archives) { result.addAll(ra.getDirectories()); } return result; }
private static boolean isEARFromIntrospecting(ReadableArchive archive) throws IOException { for (String entryName : archive.getDirectories()) { // we don't have other choices but to look if any of // the subdirectories is ended with expected suffix if ( entryName.endsWith(EXPANDED_WAR_SUFFIX) || entryName.endsWith(EXPANDED_RAR_SUFFIX) || entryName.endsWith(EXPANDED_JAR_SUFFIX) ) { return true; } } return false; }
private static boolean isEARFromIntrospecting(ReadableArchive archive) throws IOException { for (String entryName : archive.getDirectories()) { // we don't have other choices but to look if any of // the subdirectories is ended with expected suffix if ( entryName.endsWith(EXPANDED_WAR_SUFFIX) || entryName.endsWith(EXPANDED_RAR_SUFFIX) || entryName.endsWith(EXPANDED_JAR_SUFFIX) ) { return true; } } return false; } }
for (String dirName : abstractArchive.getDirectories()) { if (resemblesTopLevelSubmodule(dirName)) { return true;
for (String dirName : abstractArchive.getDirectories()) { if (resemblesTopLevelSubmodule(dirName)) { return true;
Collection<String> directoryEntries = source.getDirectories(); List<String> subModuleEntries = new ArrayList<String>(); List<String> entriesToExclude = new ArrayList<String>();