|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResourceCreator
Opens a resource, characterized by a name, for writing.
There also exists a concept ResourceFinder
that
finds Resource
s for reading.
ResourceFinder
Method Summary | |
---|---|
java.io.OutputStream |
createResource(java.lang.String resourceName)
Create the designated resource. |
boolean |
deleteResource(java.lang.String resourceName)
Deletes the resource with the given name. |
Method Detail |
---|
java.io.OutputStream createResource(java.lang.String resourceName) throws java.io.IOException
resourceName
- Designates the resource; typically structured by slashes ("/") like "com/foo/pkg/Bar.class
"
OutputStream
are stored in the resource
java.io.IOException
- Problems creating the resourceboolean deleteResource(java.lang.String resourceName)
false
if the resource could not be deleted
|
janino.net | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |