resourcesMatching

fun resourcesMatching(regex: String, vararg inPackage: String): List<URL>(source)

This function returns a list of all the resources in a certain (optional) package matching a regular expression.

This function cannot use reified and inline (as it should have) due to Java being unaware of the required transformation to use them.