jodd-core/src/main/java/jodd/io/findfile/ClassScanner.java
public ClassScanner scan(final URL... urls) {
		for (final URL url : urls) {
			final File file = FileUtil.toContainerFile(url);
			if (file == null) {
				if (!ignoreException) {
					throw new FindFileException("URL is not a valid file: " + url);
				}
			}
			else {
				filesToScan.add(file);
			}
		}
		return this;
	}
public ClassScanner scan(final URL... urls) {
		for (final URL url : urls) {
			final File file = FileUtil.toContainerFile(url);
			if (file == null) {
				if (!ignoreException) {
					throw new FindFileException("URL is not a valid file: " + url);
				}
			}
			else {
				filesToScan.add(file);
			}
		}
		return this;
	}
public ClassScanner scan ( final URL ... urls ) { for ( final URL url : urls ) { final File file = FileUtil . toContainerFile ( url ) ; if ( file == null ) { if ( ! ignoreException ) { throw new FindFileException ( "URL is not a valid file: " + url ) ; } } else { filesToScan . add ( file ) ; } } return this ; }
Scans URLs. If (#ignoreExceptions} is set, exceptions
per one URL will be ignored and loops continues.
Scans URLs . If ( #ignoreExceptions } is set exceptions per one URL will be ignored and loops continues .