public static Properties loadFromClasspath(final Properties p, final String... rootTemplate) {
			ClassScanner.create()
				.registerEntryConsumer(entryData -> UncheckedException.runAndWrapException(() -> p.load(entryData.openInputStream())))
				.includeResources(true)
				.ignoreException(true)
				.excludeAllEntries(true)
				.includeEntries(rootTemplate)
				.scanDefaultClasspath();
		return p;
	}
public static Properties loadFromClasspath(final Properties p, final String... rootTemplate) {
			ClassScanner.create()
				.registerEntryConsumer(entryData -> UncheckedException.runAndWrapException(() -> p.load(entryData.openInputStream())))
				.includeResources(true)
				.ignoreException(true)
				.excludeAllEntries(true)
				.includeEntries(rootTemplate)
				.scanDefaultClasspath();
		return p;
	}
public static Properties loadFromClasspath ( final Properties p , final String ... rootTemplate ) { ClassScanner . create ( ) . registerEntryConsumer ( entryData -> UncheckedException . runAndWrapException ( ( ) -> p . load ( entryData . openInputStream ( ) ) ) ) . includeResources ( true ) . ignoreException ( true ) . excludeAllEntries ( true ) . includeEntries ( rootTemplate ) . scanDefaultClasspath ( ) ; return p ; }
Loads properties from classpath file(s). Properties are specified using wildcards.
Loads properties from classpath file ( s ) . Properties are specified using wildcards .