class ClassPathResource
A Resource implementation for resources available on the classpath.
This class also provides a staticInputStream getInputStream(String path)
convenience method.
This is an internal class and its API is subject to change.
Constructor and description |
---|
ClassPathResource
(String path) Construct a new ClassPathResource
|
Type | Name and description |
---|---|
static InputStream |
getInputStream(String path) Convenience method to open an InputStream on the specified resource path relative the classpath
|
InputStream |
getInputStream() Open an InputStream on the classpath resource path |
Construct a new ClassPathResource
Convenience method to open an InputStream on the specified resource path relative the classpath
Open an InputStream on the classpath resource path
Groovy Documentation