|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.util.resource.FileResourceCreator
public abstract class FileResourceCreator
Stores a stream of bytes in a named resource.
| Constructor Summary | |
|---|---|
FileResourceCreator()
|
|
| 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. |
protected abstract java.io.File |
getFile(java.lang.String resourceName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileResourceCreator()
| Method Detail |
|---|
public final java.io.OutputStream createResource(java.lang.String resourceName)
throws java.io.IOException
ResourceCreator
createResource in interface ResourceCreatorresourceName - 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 resourcepublic final boolean deleteResource(java.lang.String resourceName)
ResourceCreator
deleteResource in interface ResourceCreatorfalse if the resource could not be deletedprotected abstract java.io.File getFile(java.lang.String resourceName)
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||