Package org.gmetrics.util.io
Class UrlResource
- java.lang.Object
-
- org.gmetrics.util.io.UrlResource
-
-
Constructor Summary
Constructors Constructor Description UrlResource(String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
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)
-
-
-
Constructor Detail
-
UrlResource
public UrlResource(String path)
-
-
Method Detail
-
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interfacegroovy.lang.GroovyObject
-
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interfacegroovy.lang.GroovyObject
-
invokeMethod
public Object invokeMethod(String method, Object arguments)
- Specified by:
invokeMethod
in interfacegroovy.lang.GroovyObject
-
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
public void setProperty(String property, Object value)
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getPath
public final String getPath()
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceResource
- Throws:
IOException
-
-