getResourcesAsInputStream

Load something from resources easily.

Return

an InputStream of your resource or null if unable to retrieve.

Parameters

clazz

any KClass within your project.

location

the location of the resource you want.