org.codehaus.groovy.grails.support
Class MockApplicationContext.MockResource
java.lang.Object
org.springframework.core.io.AbstractResource
org.codehaus.groovy.grails.support.MockApplicationContext.MockResource
- All Implemented Interfaces:
- InputStreamSource, Resource
- Enclosing class:
- MockApplicationContext
public class MockApplicationContext.MockResource
- extends AbstractResource
MockApplicationContext.MockResource
public MockApplicationContext.MockResource(String location)
MockApplicationContext.MockResource
public MockApplicationContext.MockResource(String location,
String contents)
exists
public boolean exists()
- Specified by:
exists
in interface Resource
- Overrides:
exists
in class AbstractResource
getDescription
public String getDescription()
getInputStream
public InputStream getInputStream()
throws IOException
- Throws:
IOException
Copyright (c) 2005-2006 The Grails project