|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.util.io.ClassPathResource
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.
Property Summary | |
---|---|
String |
path
|
Constructor Summary | |
ClassPathResource(String path)
Construct a new ClassPathResource
|
Method Summary | |
---|---|
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 |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
final String path
Constructor Detail |
---|
ClassPathResource(String path)
Method Detail |
---|
static InputStream getInputStream(String path)
InputStream getInputStream()
Groovy Documentation