Resource
class Resource(resourcePath: String, inputStream: InputStream = ResourceLoader.getResourceAsStream(resourcePath)
?: throw IllegalStateException("Resource $resourcePath not found."))(source)
Constructors
Link copied to clipboard
constructor(resourcePath: String, inputStream: InputStream = ResourceLoader.getResourceAsStream(resourcePath)
?: throw IllegalStateException("Resource $resourcePath not found."))