jodd-props/src/main/java/jodd/props/Props.java
public Props loadFromClasspath(final String... patterns) {
		ClassScanner.create()
			.registerEntryConsumer(entryData -> {
				String usedEncoding = JoddCore.encoding;
				if (StringUtil.endsWithIgnoreCase(entryData.name(), ".properties")) {
					usedEncoding = StringPool.ISO_8859_1;
				}

				final String encoding = usedEncoding;
				UncheckedException.runAndWrapException(() -> load(entryData.openInputStream(), encoding));
			})
			.includeResources(true)
			.ignoreException(true)
			.excludeCommonJars()
			.excludeAllEntries(true)
			.includeEntries(patterns)
			.scanDefaultClasspath()
			.start();
		return this;
	}
public Props loadFromClasspath(final String... patterns) {
		ClassScanner.create()
			.registerEntryConsumer(entryData -> {
				String usedEncoding = JoddCore.encoding;
				if (StringUtil.endsWithIgnoreCase(entryData.name(), ".properties")) {
					usedEncoding = StringPool.ISO_8859_1;
				}

				final String encoding = usedEncoding;
				UncheckedException.runAndWrapException(() -> load(entryData.openInputStream(), encoding));
			})
			.includeResources(true)
			.ignoreException(true)
			.excludeCommonJars()
			.excludeAllEntries(true)
			.includeEntries(patterns)
			.scanDefaultClasspath()
			.start();
		return this;
	}
Loads props and properties from the classpath.