| Constructor and Description |
|---|
ClassPathResource(String path) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream() |
static InputStream |
getInputStream(String path) |
groovy.lang.MetaClass |
getMetaClass() |
String |
getPath() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
public ClassPathResource(String path)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic String getPath()
public static InputStream getInputStream(String path) throws IOException
IOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface ResourceIOExceptionCopyright © 2015. All rights reserved.