org.codehaus.janino.util.resource
public interface ResourceCreator
There also exists a concept ResourceFinder that finds Resources for reading.
See Also: ResourceFinder
Method Summary | |
---|---|
abstract OutputStream | createResource(String resourceName)
Create the designated resource.
|
abstract boolean | deleteResource(String resourceName)
Deletes the resource with the given name.
|
Parameters: resourceName Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class
"
Returns: bytes written to this OutputStream are stored in the resource
Throws: IOException Problems creating the resource
Returns: false
if the resource could not be deleted