jodd-core/src/main/java/jodd/io/findfile/FindFile.java
public FindFile searchPath(final URL searchPath) {
		File file = FileUtil.toContainerFile(searchPath);
		if (file == null) {
			throw new FindFileException("URL error: " + searchPath);
		}
		addPath(file);
		return this;
	}
public FindFile searchPath(final URL searchPath) {
		File file = FileUtil.toContainerFile(searchPath);
		if (file == null) {
			throw new FindFileException("URL error: " + searchPath);
		}
		addPath(file);
		return this;
	}
public FindFile searchPath ( final URL searchPath ) { File file = FileUtil . toContainerFile ( searchPath ) ; if ( file == null ) { throw new FindFileException ( "URL error: " + searchPath ) ; } addPath ( file ) ; return this ; }
Specifies the search path. Throws an exception if URL is invalid.
Specifies the search path . Throws an exception if URL is invalid .