public TemporaryFileBuilder fromClasspathResource ( final String pathToResource ) { final Class < ? > callerClass = getCallerClass ( ) ; this . content = getResolver ( ) . resolve ( pathToResource , callerClass ) ; return this ; }
Defines the classpath resource from where the content of the file should be retrieved